Ejemplo n.º 1
0
        public UpdateIssueWindowViewModel(IssueViewModel issue, MainWindowViewModel parentViewModel)
        {
            this.issueViewModel  = issue;
            this.parentViewModel = parentViewModel;

            this.SelectedStatus   = this.parentViewModel.StatusList.Where(x => x.Name == this.issueViewModel.Status).First();
            this.SelectedPriority = this.parentViewModel.PriorityList.Where(x => x.Name == this.issueViewModel.Priority).First();
        }
Ejemplo n.º 2
0
 public void UpdateIssue(IssueViewModel issueViewModel)
 {
     Messenger.Raise(new TransitionMessage(new UpdateIssueWindowViewModel(issueViewModel, this), "UpdateIssueTransition"));
 }