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