Exemple #1
0
 public ActionResult GeneralUpdate(SettingsGeneralModel m)
 {
     if (!m.Org.LimitToRole.HasValue())
     {
         m.Org.LimitToRole = null;
     }
     DbUtil.LogActivity($"Update SettingsGeneral {m.Org.OrganizationName}");
     if (ModelState.IsValid)
     {
         m.Update();
         return(View("Settings/General", m));
     }
     return(PartialView("Settings/GeneralEdit", m));
 }