public MainCitaPageViewModel(INavigationService navigationService, IAppointmentReader appointmentReader,
                              IPageDialogService dialogService, IAuthenticationService authenticationService)
 {
     _navigationService     = navigationService;
     _appointmentReader     = appointmentReader;
     _dialogService         = dialogService;
     _authenticationService = authenticationService;
     LogoutCommand          = new DelegateCommand(OnLogoutCommandExecuted);
 }
Ejemplo n.º 2
0
 public Appointment ReadAppintment(IAppointmentReader reader, object data)
 {
     return(reader.Read(data));
 }