Exemplo n.º 1
0
 public DeviceViewModel DefaultValueListing()
 {
     deviceViewModel.ListOfOffices     = dropDownManager.OfficeDropDown();
     deviceViewModel.ListOfFloors      = dropDownManager.FloorDropdown();
     deviceViewModel.ListOfDeviceTypes = dropDownManager.DeviceTypeDropdown();
     return(deviceViewModel);
 }
Exemplo n.º 2
0
        public BookViewModel BookDropdowns(int id = 0)
        {
            DropDownManager ddManager = new DropDownManager();
            BookViewModel   bookView  = new BookViewModel();

            bookView.ListOfFloors    = ddManager.FloorDropdown();
            bookView.ListOfOffices   = ddManager.OfficeDropDown();
            bookView.ListOfWorkpoint = ddManager.WorkpointsDropdown();
            bookView.ListOfUsers     = ddManager.UsersDropdown();
            return(bookView);
        }