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