public MainWindowViewModel( FarkleViewModel newFarkleViewModel, IWcfService wcfService, IMapper mapper) { NewFarkle = newFarkleViewModel; SubmittedFarkles = new ObservableCollection <FarkleViewModel>(wcfService.GetFarkles().Select(x => mapper.Map <FarkleViewModel>(x))); SubmitCommand = new MainWindowCommands.SubmitCommand(this, wcfService, mapper); RemoveCommand = new MainWindowCommands.RemoveCommand(this, wcfService); }