예제 #1
0
        public ActionResult CalculateBillAmount(BillRequestViewModel model)
        {
            BillCalculationResponseModel Result = new BillCalculationResponseModel();

            if (ModelState.IsValid)
            {
                Result = _bill.CalculatetheBilledAmount(model);
            }
            return(Json(new { Result = Result }, JsonRequestBehavior.AllowGet));
        }