public DeviceController(IRepository<Device> deviceRepository, IRepository<PeripheralDevice> peripheralRepository) { this.deviceRepository = deviceRepository; peripheralDeviceController = new PeripheralDeviceController(peripheralRepository); deviceListView = new DeviceListView(this.deviceRepository); }
private void OnRefresh(object sender, EventArgs e) { RefreshAll(); DeviceListView.EndRefresh(); }