public PersonTileViewViewModel(IRepositoryService <Person> personsRepositary, ITileHelper tileService)
 {
     _personsRepositary = personsRepositary;
     _tileService       = tileService;
     _pinSymbol         = Symbol.UnPin;
     _pinCommand        = new DelegateCommand(PinExecute);
 }
 public MasterDetailPageViewModel(IRepositoryService <Person> personsList, ITileHelper tileService)
 {
     _personsRepositary   = personsList;
     _tileService         = tileService;
     _favoriteSymbol      = Symbol.Favorite;
     _pinSymbol           = Symbol.Pin;
     _deletePersonCommand = new DelegateCommand(DeletePersonExecute, CanDeletePerson);
     _editPersonCommand   = new DelegateCommand(EditPersonExecute, CanEditPerson);
     _makeFavoriteCommand = new DelegateCommand(MakeFavoriteExecute, CanMakeFavorite);
     _pinCommand          = new DelegateCommand(PinExecute, CanPin);
     _addPersonCommand    = new DelegateCommand(AddPersonExecute);
 }