示例#1
0
 public SaveResult SaveChanges([FromBody] JObject saveBundle)
 {
     try
     {
         return(persistenceManager.SaveChanges(saveBundle));
     }
     catch (Exception ex)
     {
         var errors = new List <EFEntityError>();
         errors.Add(new EFEntityError(null, null, ex.GetBaseException().Message, null));
         throw new EntityErrorsException(errors);
     }
 }
 public SaveResult SaveChanges([FromBody] JObject saveBundle)
 {
     return(persistenceManager.SaveChanges(saveBundle));
 }