示例#1
0
 public ActionResult Save(Bam.Net.UserAccounts.Data.Setting[] values)
 {
     try
     {
         SettingCollection saver = new SettingCollection();
         saver.AddRange(values);
         saver.Save();
         return(Json(new { Success = true, Message = "", Dao = "" }));
     }
     catch (Exception ex)
     {
         return(GetErrorResult(ex));
     }
 }