/// <summary> /// Deleting user /// </summary> /// <returns>Page with result</returns> public bool DeleteUser(string userId) { bool success = false; if (!string.IsNullOrEmpty(userId)) { // user id get from session try { _adminService.DeleteUser(userId); success = true; } catch (Exception) { success = false; } } return(success); }