Ejemplo n.º 1
0
 public async Task AddItemToCartAsync(long itemCode)
 {
     using (var context = new PriceCompareDbContext())
     {
         var managerRep = new ManagerRepository(context);
         await managerRep.AddItemToCartAsync(itemCode, User.CartId);
     }
 }