public async Task <IEnumerable <Price> > GetItemsInStoreByStoreWithNameIdAsync(int storeId, string text, long chainId) { using (var context = new PriceCompareDbContext()) { var priceRep = new PriceRepository(context); return(await priceRep.GetItemsInStoreByStoreWithNameIdAsync(storeId, text, chainId)); } }