public LotInfoViewModel() { Lots = DataBaseService.LoadLotsFromDataBase(); user = DataBaseService.GetUserInfo(currentUser.login); Bargaes = DataBaseService.LoatBargaesFromDataBase(); selectedBarga = new Bargaining(); summa = 0; TimeLeft = ""; Task.Factory.StartNew(() => { while (true) { Task.Delay(1000).Wait(); timer(); } }); }
public AddLotViewModel() { selectedLot = new LotInfo(); user = DataBaseService.GetUserInfo(currentUser.login); Barga = new Bargaining(); }
public ClientInfoViewModel() { selectedUser = DataBaseService.GetUserInfo(currentUser.login); }