private AirPackageModel GetViewModel(int id, string tranMode, bool isPost = false)
        {
            ///tranMode = "N" , "U", "L", "V"

            if (id != 0 && isPost == false)
            {
                _modObj = _provider.GetDetails(id);
            }

            _modObj.EffectiveFrom = DateTime.Now;
            _modObj.ExpireOn      = DateTime.Now.AddDays(1);


            _modObj.ddlCountryList = CountryProvider.GetSelectListOptions();
            _modObj.ddlCityList    = CoreCityProvider.GetSelectListOptions(_modObj.CountryId);
            _modObj.ddlDuration    = AirPackageProvider.GetSelectListOptionDuration();
            _modObj.ddlZoneList    = new SelectList(_provider.GetZoneList(), "ZoneId", "ZoneValue");
            _provider.GetPackageGroupNameDdl(_modObj);



            //  _modObj.packageDetail = new ATLTravelPortal.Repository.PackageProvider().GetDetail(id.ToString());
            SetUpFormParams(tranMode);
            return(_modObj);
        }
        public ActionResult Create()
        {
            AirPackageGroupModel _model = new AirPackageGroupModel();

            _provider.getddl(_model);
            _model.ddlCountryList = CountryProvider.GetSelectListOptions();
            _model.ddlZoneList    = new SelectList(_provider.GetZoneList(), "ZoneId", "ZoneValue");
            return(View(_model));
        }