public IActionResult ByOrganisation([FromRoute][Required] string organisationId) { var solnExs = _datastore.ByOrganisation(organisationId); return(new OkObjectResult(solnExs)); }
public IEnumerable <SolutionEx> ByOrganisation(string organisationId) { return(_filter.Filter(_datastore.ByOrganisation(organisationId))); }