Esempio n. 1
0
        public JsonResult GetOrderPrice(GetOrderPriceRequest request)
        {
            GetOrderPriceResponse response = new GetOrderPriceResponse();

            response = bll.GetOrderPrice(request);
            return(Json(response));
        }
Esempio n. 2
0
        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);
        }