public async Task <IActionResult> RetrieveStaffByUserId(long userId) { try { var staff = await _staffAppService.RetriveStaffByUserId(userId); if (staff == null) { return(NotFound($"No Staff with User Id: {userId} Found")); } return(Ok(staff)); } catch (Exception ex) { return(BadRequest(ex.Message)); } }