diff --git a/400-SOURCECODE/AIAHTML5.API/Controllers/ConfigurationController.cs b/400-SOURCECODE/AIAHTML5.API/Controllers/ConfigurationController.cs index 7199fc0..892bbab 100644 --- a/400-SOURCECODE/AIAHTML5.API/Controllers/ConfigurationController.cs +++ b/400-SOURCECODE/AIAHTML5.API/Controllers/ConfigurationController.cs @@ -13,7 +13,10 @@ namespace AIAHTML5.API.Controllers [HttpGet] public HttpResponseMessage GetConfigurationvalues() { - int current_year = Int32.Parse(ConfigurationManager.AppSettings["Copyrightyear"]); + // int current_year = Int32.Parse(ConfigurationManager.AppSettings["Copyrightyear"]); + + int current_year = DateTime.Now.Year; + HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, current_year); return response; }