public async Task <IActionResult> GetRoleRequest() { try { var pendingRequest = await _userRolesService.GetPendingRoleRequests(); return(Ok(pendingRequest)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }
public async Task <IActionResult> GetRoleRequest() { try { var pendingRequest = await _userRolesService.GetPendingRoleRequests(); return(Ok(pendingRequest)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }