Esempio n. 1
0
 public async Task <OrderDetailVM> CreateAsync(OrderDetailVM orderDetailVM, List <OrderItemVM> listItem)
 {
     return(await _request.PostAsync <OrderDetailVM>(routeName, orderDetailVM));
 }
Esempio n. 2
0
        public async Task <RatingVM> CreateAsync(int productId, RatingVM ratingVM)
        {
            var router = routeName + "?productId=" + productId;

            return(await _request.PostAsync <RatingVM>(router, ratingVM));
        }