예제 #1
0
        public void PopulateLookups()
        {
            using (var bs = new BookingServiceClient())
            {
                ViewData["Carriers"]            = bs.GetCarriers();
                ViewData["Containers"]          = bs.GetContainers();
                ViewData["DisposalLocations"]   = bs.GetDisposalLocations();
                ViewData["ScheduleFrequencies"] = bs.GetScheduleFrequncies();
                ViewData["EWCodes"]             = bs.GetEWCs();
            }

            ViewData["Sites"] = new SiteService.SiteServiceClient().GetSites();
        }
예제 #2
0
 public void PopulateLookups()
 {
     ViewData["SiteLookupData"]    = new SiteService.SiteServiceClient().GetSites();
     ViewData["ServiceLookupData"] = new BookingService.BookingServiceClient().GetServices();
 }