public MainVeterinarioPageViewModel(INavigationService navigationService, IVeterinarianReader vetReader,
                                     IAuthenticationService authenticationService)
 {
     _navigationService     = navigationService;
     _vetReader             = vetReader;
     _authenticationService = authenticationService;
     LogoutCommand          = new DelegateCommand(OnLogoutCommandExecuted);
 }
示例#2
0
 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;
 }