Example #1
0
        public async Task <CatalogItem> GetProductByIdAsync(int productId)
        {
            await Task.Delay(10);

            return(MockCatalog.SingleOrDefault(c => c.Id == productId));
        }