private void CancelSpecialDesign() { TaskVM = null; GoBackToMainWindow(); }
private void RemoveTask(TaskVM message) { Tasks.First(t => t.Id == message.Id).Status = Status.Completed; }
public AddTaskVM() { TaskVM = new TaskVM(); CancelCommand = new RelayCommand(CancelSpecialDesign); OKCommand = new RelayCommand(ApproveSpecialDesign); }