public JointSearchViewModel(IJointRepository repo, IUserNotify notify) { this.repo = repo; this.notify = notify; searchCommand = ViewModelSource.Create(() => new JointSearchCommand(this, repo, notify)); LoadStatuses(); }
public JointSearchViewModel(IJointRepository repo) { this.repo = repo; searchCommand = ViewModelSource.Create(() => new JointSearchCommand(this, repo)); LoadStatuses(); }