public void LoadDevice(string deviceName)
 {
     ModelRepositories.DeviceRepository repository = new ModelRepositories.DeviceRepository();
     model                    = repository.GetDevice(deviceName);
     view.DeviceName          = model.Name;
     view.Password            = model.Password;
     view.PasswordIsSupported = model.PasswordIsSupported;
 }
 public void LoadDevices()
 {
     ModelRepositories.DeviceRepository repository = new ModelRepositories.DeviceRepository();
     view.SetDevices(repository.GetDevices());
 }