public JsonResult GetPrice(int ProductId, int Discount, int Quantity) { Product product = orderDetailService.GetProductById(ProductId); return(Json(orderDetailService.CalculateMoney(product.PricePerUnit, Discount, Quantity))); }
public JsonResult GetPrice(int ProductId, int Discount, int Quantity) { Product product = orderDetailService.GetProductById(ProductId); return(Json(orderDetailService.CalculateMoney(product.PricePerUnit, Discount, Quantity))); }