public JsonResult GetOrderPrice(GetOrderPriceRequest request) { GetOrderPriceResponse response = new GetOrderPriceResponse(); response = bll.GetOrderPrice(request); return(Json(response)); }
public GetOrderPriceResponse GetOrderPrice(GetOrderPriceRequest request) { GetOrderPriceResponse response = new GetOrderPriceResponse(); response.Toprice = BaseBLL <OrderBLL> .Instance.GetOrderPrice(request.Ids); response.State = response.Toprice > 0 ? true : false; return(response); }