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());
        }
Пример #2
0
 public DataTable GetSubjectData(int projectId, [FromBody] List <ObservationRequestDTO> requestedSCs)
 {
     return(_explorerService.GetSubjectData(projectId, requestedSCs));
 }