Example #1
0
 public IHttpActionResult UpdateRecords(IEnumerable <EditableGridModel> records)
 {
     try
     {
         var service = new XrmServiceContext(_conn);
         return(Ok(service.UpdateRecords(records)));
     }
     catch (Exception ex)
     {
         return(InternalServerError(ex));
     }
 }