Ejemplo n.º 1
0
 public ActionResult Save(Bam.Net.UserAccounts.Data.Group[] values)
 {
     try
     {
         GroupCollection saver = new GroupCollection();
         saver.AddRange(values);
         saver.Save();
         return(Json(new { Success = true, Message = "", Dao = "" }));
     }
     catch (Exception ex)
     {
         return(GetErrorResult(ex));
     }
 }