public virtual IActionResult ApiCapabilitiesByIdsPost([FromBody] List <string> ids)
        {
            try
            {
                var capabilities = _datastore.ByIds(ids);

                if (capabilities == null)
                {
                    return(StatusCode(404));
                }

                return(new ObjectResult(capabilities));
            }
            catch (Crm.CrmApiException ex)
            {
                return(StatusCode((int)ex.HttpStatus, ex.Message));
            }
        }
 public IQueryable <Capability> ByIds(IEnumerable <string> ids)
 {
     return(_datastore.ByIds(ids));
 }