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(); }
public void PopulateLookups() { ViewData["SiteLookupData"] = new SiteService.SiteServiceClient().GetSites(); ViewData["ServiceLookupData"] = new BookingService.BookingServiceClient().GetServices(); }