public async Task <IActionResult> GetSubjectDataAsync(int projectId, [FromBody] List <ObservationRequestDTO> requestedSCs) { var data = await _explorerService.GetSubjectData(projectId, requestedSCs); if (data != null) { return(Ok(data)); } return(NotFound()); }
public DataTable GetSubjectData(int projectId, [FromBody] List <ObservationRequestDTO> requestedSCs) { return(_explorerService.GetSubjectData(projectId, requestedSCs)); }