public MainWindow(IIssueReportService issueReportService) { InitializeComponent(); _issueReportService = issueReportService; }
/// <summary> /// Constructor /// </summary> /// <param name="issueReportService"></param> /// <param name="report"></param> public IssueReportDialogViewModel(IIssueReportService issueReportService, IssueReport report) { _issueReportService = issueReportService; _issueReportViewModel = new IssueReportViewModel(report); }