public async Task <ActionResult <IEnumerable <ExternalData> > > GetExternalData(int id, int unitId, int entity) { var queryResults = await _externalSystemService.GetExternalData(id, unitId, entity); return(Ok(queryResults)); }
public async Task <ActionResult <IEnumerable <ExternalData> > > GetExternalData(ExternalGovernmentSystem id) { var queryResult = await _externalSystemService.GetExternalData(id); return(Ok(queryResult)); }