public MainVeterinarioPageViewModel(INavigationService navigationService, IVeterinarianReader vetReader, IAuthenticationService authenticationService) { _navigationService = navigationService; _vetReader = vetReader; _authenticationService = authenticationService; LogoutCommand = new DelegateCommand(OnLogoutCommandExecuted); }
public AddCitaPageViewModel(INavigationService navigationService, IAppointmentWriter appointmentWriter, IPageDialogService dialogService, IAuthenticationService authenticationService, IPetReader petReader, IVeterinarianReader veterinarianReader) { _navigationService = navigationService; _appointmentWriter = appointmentWriter; _dialogService = dialogService; _authenticationService = authenticationService; LogoutCommand = new DelegateCommand(OnLogoutCommandExecuted); _petReader = petReader; _veterinarianReader = veterinarianReader; }