public async Task<IHttpActionResult> Put(SiteConfigInfo info)
 {
     if (!ModelState.IsValid)
         return BadRequest(ModelState);
     info.UpdateTime = DateTime.Now;
     GlobalApplicationObject.Current.ApplicationContext.ConfigManager.SaveConfig<SiteConfigInfo>(info);
     return Ok(info);
 }
        public async Task<IHttpActionResult> Post(SiteConfigInfo info)
        {
            if (!ModelState.IsValid)
                return BadRequest(ModelState);
            info.UpdateTime = DateTime.Now;

            ApplicationContext.ConfigManager.SaveConfig<SiteConfigInfo>(info);
            return Created<SiteConfigInfo>("api/config/SiteConfigInfo", info);
        }