From 4a634f657caea7fef57dc44b8c19aa7e586a0d68 Mon Sep 17 00:00:00 2001 From: utkarsh.singh Date: Mon, 3 Jul 2017 17:56:53 +0530 Subject: [PATCH] Committing updated code --- 400-SOURCECODE/AIAHTML5.Admin/app/components/add-new-license.component.html | 46 +++++++++++++++++++++++----------------------- 400-SOURCECODE/AIAHTML5.Server/AIAHTML5.Server.csproj | 1 + 400-SOURCECODE/AIAHTML5.Server/Controllers/AddLicenseController.cs | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 23 deletions(-) create mode 100644 400-SOURCECODE/AIAHTML5.Server/Controllers/AddLicenseController.cs diff --git a/400-SOURCECODE/AIAHTML5.Admin/app/components/add-new-license.component.html b/400-SOURCECODE/AIAHTML5.Admin/app/components/add-new-license.component.html index b122453..b64dbac 100644 --- a/400-SOURCECODE/AIAHTML5.Admin/app/components/add-new-license.component.html +++ b/400-SOURCECODE/AIAHTML5.Admin/app/components/add-new-license.component.html @@ -35,7 +35,7 @@ -->
{{ formErrors.licenseType }} @@ -97,7 +97,7 @@
- +
{{ formErrors.accountNo }} @@ -108,7 +108,7 @@
- +
@@ -116,7 +116,7 @@
- +
{{ formErrors.licenseeFirstName }} @@ -127,7 +127,7 @@
- +
{{ formErrors.licenseeLastName }} @@ -151,7 +151,7 @@ -->
{{ formErrors.accountType }} @@ -163,7 +163,7 @@
- +
{{ formErrors.institutionName }} @@ -174,7 +174,7 @@
- +
{{ formErrors.address }} @@ -185,7 +185,7 @@
- +
{{ formErrors.city }} @@ -196,7 +196,7 @@
- -
@@ -680,7 +680,7 @@
- +
{{ formErrors.answer }} diff --git a/400-SOURCECODE/AIAHTML5.Server/AIAHTML5.Server.csproj b/400-SOURCECODE/AIAHTML5.Server/AIAHTML5.Server.csproj index 01be0ab..e2e2fd7 100644 --- a/400-SOURCECODE/AIAHTML5.Server/AIAHTML5.Server.csproj +++ b/400-SOURCECODE/AIAHTML5.Server/AIAHTML5.Server.csproj @@ -146,6 +146,7 @@ + diff --git a/400-SOURCECODE/AIAHTML5.Server/Controllers/AddLicenseController.cs b/400-SOURCECODE/AIAHTML5.Server/Controllers/AddLicenseController.cs new file mode 100644 index 0000000..e7962ef --- /dev/null +++ b/400-SOURCECODE/AIAHTML5.Server/Controllers/AddLicenseController.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; +using System.Net.Http; +using System.Web.Http; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using AIAHTML5.Server.Models; +using System.Web.Http.Cors; +using System.Web.Cors; +using AIAHTML5.Server.Constants; +using log4net; + +namespace AIAHTML5.Server.Controllers +{ + [EnableCors(origins: "http://localhost:85", headers: "*", methods: "*")] + public class AddLicenseController : ApiController + { + // GET: api/AddLicense + public IEnumerable Get() + { + return new string[] { "value1", "value2" }; + } + + // GET: api/AddLicense/5 + public string Get(int id) + { + return "value"; + } + + // POST: api/AddLicense + public void Post([FromBody]string value) + { + } + + // PUT: api/AddLicense/5 + public void Put(int id, [FromBody]string value) + { + } + + // DELETE: api/AddLicense/5 + public void Delete(int id) + { + } + } +} -- libgit2 0.21.4