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