public DeleteUserResponse DeleteUser(DeleteUserRequest request)
 {
     DeleteUserResponse response = new DeleteUserResponse();
     SecurityBusinessComponent bc = DependencyInjectionHelper.GetSecurityBusinessComponent();
     bc.DeleteUser(request.Id);
     return response;
 }
 public void DeleteUser(int userId)
 {
     try
     {
         DeleteUserRequest request = new DeleteUserRequest();
         request.Id = userId;
         DeleteUserResponse response = Service.DeleteUser(request);
     }
     catch (Exception ex)
     {
         if (ExceptionPolicy.HandleException(ex, "PL Policy")) throw;
     }
 }