예제 #1
0
        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;
     }
 }