public DeviceListViewModel(AuthViewModel authViewModel) { currentUser = authViewModel.GetUser(); Title = $"Список устройств пользователя {currentUser.Login}"; DeviceList = new DeviceList(currentUser); Devices = DeviceList.Devices; }
public AddDeviceViewModel(AuthViewModel authViewModel) { currentUser = authViewModel.GetUser(); }