public bool UpdateSetting(Settings setting)
 {
     settingsRepository.Update(setting);
     unitOfWork.Commit();
     if (settingsRepository != null && unitOfWork != null)
     {
         return true;
     }
     return false;
 }
 public virtual ActionResult Create(Settings siteSettings)
 {
     settings.CreateSetting(siteSettings);
     return RedirectToAction("Index");
 }