Exemplo n.º 1
0
 public decimal DeleteUser(UserProxy proxy)
 {
     try
     {
         User user = UserProxy.Export(proxy);
         return(this.SaveChanges(user, UIActionType.DELETE));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemplo n.º 2
0
 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;
     }
 }