public JsonResult UpdateStatus(string id)
        {
            objBDC = new BusChargesMasterBusiness();
            int  Id      = Convert.ToInt32(id);
            bool _Result = objBDC.FindById(Id);

            if (_Result == true)
            {
                _Result = false;
            }
            else
            {
                _Result = true;
            }

            BusChargesMasterCustomModel objModel = new BusChargesMasterCustomModel();

            objModel.BusChargesMasterId = Id;
            objBDC.SetActiveBusChargesRegistrationDetail(objModel);
            return(Json(new { result = _Result }));
        }
        public ActionResult DeleteStatus(string id)
        {
            objBDC = new BusChargesMasterBusiness();
            int  Id      = Convert.ToInt32(id);
            bool _Result = objBDC.FindById(Id);

            if (_Result == true)
            {
                _Result = false;
            }
            else
            {
                _Result = true;
            }

            BusChargesMasterCustomModel objModel = new BusChargesMasterCustomModel();

            objModel.BusChargesMasterId = Id;
            objBDC.DeleteBusChargesRegistrationDetail(objModel);

            return(RedirectToAction("Index"));
        }