public decimal DeleteUser(UserProxy proxy) { try { User user = UserProxy.Export(proxy); return(this.SaveChanges(user, UIActionType.DELETE)); } catch (Exception ex) { throw ex; } }
public decimal EditUser(UserProxy proxy) { try { User user = UserProxy.Export(proxy); return(this.SaveChanges(user, UIActionType.EDIT)); } catch (Exception ex) { LogException(ex, "BUser", "EditUser"); throw ex; } }