public ActionResult Index(int?id, int?FilterDealIdentifierId) { TravelSession obj = (TravelSession)Session["TravelPortalSessionInfo"]; var dealtype = mDealProvider.GetBranchDealMasterById(id ?? 0); BranchDealViewModel viewmodel = new BranchDealViewModel(); viewmodel.DealMasterList = mDealProvider.GetAllBranchDealMasterList(3, obj.LoginTypeId); viewmodel.DealIdentifierList = masterDealProvider.GetMobileServiceProviders(); viewmodel.DealList = mDealProvider.GetAllMobileBranchDeals(id, FilterDealIdentifierId); if (Request != null && Request.IsAjaxRequest()) { return(PartialView("VUC_DealDetailList", viewmodel)); } else { return(View(viewmodel)); } }
public ActionResult Index(int?id, string FilterDealIdentifierId, int?FilterAirlineId, int?FilterCurrencyId) { TravelSession obj = (TravelSession)Session["TravelPortalSessionInfo"]; var dealtype = mDealProvider.GetBranchDealMasterById(id ?? 0); BranchDealViewModel viewmodel = new BranchDealViewModel(); viewmodel.AirlineNameList = mDealProvider.GetAllAirlineNameList(); viewmodel.DealMasterList = mDealProvider.GetAllBranchDealMasterList(1, obj.LoginTypeId); viewmodel.CurrencyList = mDealProvider.GetCurrencyList(); viewmodel.DealList = mDealProvider.GetAllDeals(id, FilterDealIdentifierId, FilterAirlineId, FilterCurrencyId); if (Request != null && Request.IsAjaxRequest()) { return(PartialView("VUC_DealDetailList", viewmodel)); } else { return(View(viewmodel)); } }
public ActionResult Index(int?id, int?FilterBusOperatorId, int?FilterBusCategoryId) { TravelSession obj = (TravelSession)Session["TravelPortalSessionInfo"]; var dealtype = mDealProvider.GetBranchDealMasterById(id ?? 0); BranchDealViewModel viewmodel = new BranchDealViewModel(); viewmodel.BusOperatorList = mDealProvider.GetAllBusOperatorList(); viewmodel.BusCategoryList = mDealProvider.GetAllBusCategoryList(FilterBusOperatorId ?? 0); viewmodel.DealMasterList = mDealProvider.GetAllBranchDealMasterList(4, obj.LoginTypeId); viewmodel.CurrencyList = mDealProvider.GetCurrencyList(); viewmodel.DealList = mDealProvider.GetAllBusBranchDeals(id, FilterBusOperatorId, FilterBusCategoryId); if (Request != null && Request.IsAjaxRequest()) { return(PartialView("VUC_DealDetailList", viewmodel)); } else { return(View(viewmodel)); } }