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