public InspectionReportsViewModel(IMillReportsRepository repo, IUserNotify notify)
 {
     this.repo      = repo;
     this.notify    = notify;
     createCommand  = ViewModelSource.Create <CreateReportCommand>(() => new CreateReportCommand(this, repo, notify));
     previewCommand = ViewModelSource.Create <PreviewReportCommand>(() => new PreviewReportCommand(this, repo, notify));
 }
 public InspectionReportsViewModel(IMillReportsRepository repo, IUserNotify notify)
 {
     this.repo = repo;
     this.notify = notify;
     createCommand = ViewModelSource.Create<CreateReportCommand>(() => new CreateReportCommand(this, repo, notify));
     previewCommand = ViewModelSource.Create<PreviewReportCommand>(() => new PreviewReportCommand(this, repo, notify));
 }