protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); User1 = (User)Session[AccountController.USER_SESSION_ID]; UsersServices1 = new UsersServicesImpl(); _freightService = new FreightServicesImpl(); }
protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); usersServices = new UsersServicesImpl(); newsServices = new NewsServices(); freightServices = new FreightServicesImpl(); groupService = new GroupService(); }
protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); usersServices = new UsersServicesImpl(); newsServices = new NewsServices(); freightServices = new FreightServicesImpl(); groupService = new GroupService(); Session[AccountController.USER_HASH_NEWINFO] = false; }
protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); _freightService = new FreightServicesImpl(); _shipmentService = new ShipmentServicesImpl(); carrierService = new CarrierService(); agentService = new AgentService(); areaService = new AreaService(); servicesType = new ServicesTypeServices(); ViewData["CountryList"] = new SelectList(agentService.GetAllCountry(), "Id", "CountryName"); ViewData["AirlineList"] = carrierService.GetAll(x => x.Type == CarrierType.AirLine.ToString()); ViewData["CarrierList"] = carrierService.GetAll(x => x.Type == CarrierType.ShippingLine.ToString()); ViewData["AgentList"] = agentService.GetAll(); List <String> List1 = new List <String>(); ViewData["AreaListDep"] = new SelectList(List1); ViewData["AreaListDes"] = new SelectList(List1); ViewData["ServiceList"] = Services; User1 = (User)Session[AccountController.USER_SESSION_ID]; }