public async Task <IActionResult> Get(int projectId) { if (projectId < 1) { return(BadRequest()); } var p = await _clientData.GetProjectStatus(projectId); if (p == null) { return(NotFound()); } return(Ok(p)); }
public async Task <IActionResult> Get(int projectId) { if (projectId < 1) { return(BadRequest()); } var p = await _clientData.GetProjectStatus(projectId); if (p == null) { return(NotFound()); } return(Ok(p)); }