public ActionResult Save(Bam.Net.UserAccounts.Data.Account[] values) { try { AccountCollection saver = new AccountCollection(); saver.AddRange(values); saver.Save(); return(Json(new { Success = true, Message = "", Dao = "" })); } catch (Exception ex) { return(GetErrorResult(ex)); } }