public override bool DeleteUser(string username, bool deleteAllRelatedData) { IAppUserRepository userRepo = new AppUserRepository(); try { userRepo.DeleteUserByUserName(username); return(true); } catch { return(false); } }
public override bool DeleteUser(string username, bool deleteAllRelatedData) { IAppUserRepository userRepo = new AppUserRepository(); try { userRepo.DeleteUserByUserName(username); return true; } catch { return false; } }