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); } }
public User DeleteUser(string email) { return(userDB.DeleteUser(email)); }