public LoginViewModel()
 {
     Login             = new Login();
     Prospect          = new ProspectViewModel();
     apiService        = new ApiService();
     DialogService     = new DialogService();
     navigationService = new NavigationService();
 }
 public MainViewModel()
 {
     instance   = this;
     LoginVM    = new LoginViewModel();
     ProspectVM = new ProspectViewModel();
     if (!string.IsNullOrEmpty(LoginVM.UserEmail) && !string.IsNullOrEmpty(LoginVM.UserPassword))
     {
         LoginVM.Login.email    = LoginVM.UserEmail;
         LoginVM.Login.password = LoginVM.UserPassword;
     }
     apiService        = new ApiService();
     DialogService     = new DialogService();
     navigationService = new NavigationService();
     MetricsManager.TrackEvent("Pantalla inicial");
 }