コード例 #1
0
 public async Task <Price> GetItemPriceByCodeAsync(long itemCode)
 {
     using (var context = new PriceCompareDbContext())
     {
         var priceRep = new PriceRepository(context);
         return(await priceRep.GetItemPriceByCodeAsync(itemCode));
     }
 }