public UpdateTaskHandler(UpdateTaskVm updateVm) { _updateVm = updateVm; Bvm = new NavigationHelperVm(); DoGoTask = new RelayCommandClass(GoTask); Dc = new DateConverter(); Tvm = new TaskVm(); Tvm.SelectedItem = new TaskEquipmentStation(); Singleton = TaskEquipmentStationSingleton.GetInstance(); }
public NavigationHelperVm() { CurrentUser = UserSingleton.GetInstance(); TaskSingleton = TaskEquipmentStationSingleton.GetInstance(); _frameNavigation = new FrameNavigateClass(); GoTask = new RelayCommandClass(DoTask); GoDone = new RelayCommandClass(DoDone); DoGoCreate = new RelayCommandClass(GoCreate); UserName = CurrentUser.GetUsername(); UserId = CurrentUser.GetUserID(); }