public async void Initialize() { TNKCD tnkcd = new TNKCD(); this.TNKCD = await tnkcd.GetTNKCDAsync(); Work work = new Work(); this.Work = await work.GetWorkAsync(); Employee employee = new Employee(); this.Employee = await employee.GetEmployeeAsync(); }
public async void Initialize() { var message = new TransitionMessage(typeof(Views.Logon), new LogonViewModel(), TransitionMode.Modal, "ShowLogon"); Messenger.Raise(message); Employee employee = new Employee(); this.Employee = await employee.GetEmployeeAsync(); TNKCD tnkcd = new TNKCD(); this.TNKCD = await tnkcd.GetTNKCDAsync(); this.CTNKCD = new TNKCD(); }