public Task <List <CountryModel> > GetCountries([FromQuery] string name) { return(module.ExecuteQueryAsync <List <CountryModel> >(new SearchContriesQuery { Name = name })); }
public Task <IEnumerable <AssetModel> > GetAssets() { return(module.ExecuteQueryAsync(new GetAllAssetsQuery())); }