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