/// <summary> /// Saves context changes /// </summary> public Task SaveAsync() { try { return(_context.SaveChangesAsync()); } catch (DbEntityValidationException e) { LogEntityValidationErrors(e.EntityValidationErrors); throw; } }