public async Task <IEnumerable <ItemFilterResult> > GetItemFilterResultAsync(IEnumerable <int> storeIds,
                                                                                     IEnumerable <int> itemCategoryIds, IEnumerable <int> manufacturerIds)
        {
            var result = await client.GetItemFilterResult(
                storeIds,
                itemCategoryIds,
                manufacturerIds);

            return(result.Select(r => r.ToModel()));
        }
Esempio n. 2
0
 public async Task <IEnumerable <ItemFilterResultContract> > GetItemFilterResult(IEnumerable <int> storeIds,
                                                                                 IEnumerable <int> itemCategoryIds, IEnumerable <int> manufacturerIds)
 {
     return(await apiClient.GetItemFilterResult(storeIds, itemCategoryIds, manufacturerIds));
 }