Пример #1
0
 public bool DeleteUser(AppUser user)
 {
     try
     {
         lock (x)
         {
             bool retVal = manager.DeleteUser(user);
             log.LogMessage(LOG_TYPE.INFO, "Delete User executed succesfuly.");
             return(retVal);
         }
     }
     catch
     {
         log.LogMessage(LOG_TYPE.ERROR, "Delete User executed unsuccesfuly.");
         return(false);
     }
 }
Пример #2
0
 public User DeleteUser(string email)
 {
     return(userDB.DeleteUser(email));
 }