Ejemplo n.º 1
0
        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));
            }
        }
Ejemplo n.º 2
0
 public IEnumerable <Standards> ByIds(IEnumerable <string> ids)
 {
     return(_datastore.ByIds(ids));
 }