Beispiel #1
0
 public bool UpdateAmount(ProductReserveViewModel productReserveViewModel)
 {
     return(productReserveViewModel.UpdateProductListAmount());
 }
Beispiel #2
0
 public int?ReserveProduct(ProductReserveViewModel productReserveViewModel)
 {
     productReserveViewModel.UserId = User.Identity.GetUserId <int>();
     return(productReserveViewModel.ReserveProduct());
 }