public virtual IActionResult ApiStandardsByIdsPost([FromBody] List <string> ids) { IEnumerable <Standard> standards; try { standards = _datastore.ByIds(ids); return(new ObjectResult(standards)); } catch (Crm.CrmApiException ex) { return(StatusCode((int)ex.HttpStatus, ex.Message)); } }
public IEnumerable <Standards> ByIds(IEnumerable <string> ids) { return(_datastore.ByIds(ids)); }