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