Esempio n. 1
0
        public MainViewModel(TravelerViewModel traveler)
        {
            model = new DatabaseModel();

            AllGroups = new ObservableCollection<GroupViewModel>();
            _traveler = traveler;

            this.AllGroups.Add(new GroupViewModel()
            {
                Identifier = 0,
                Title = "Your trips",
                Description = "Your planned trips",
                LocalPathImage = "/Assets/Trip.png",
            });

            this.AllGroups.Add(new GroupViewModel()
            {
                Identifier = 1,
                Title = "Suggestions",
                Description = "Suggestions from our platform",
                LocalPathImage = "/Assets/Suggestion.png",
                AreSuggestions = true
            });
        }
Esempio n. 2
0
 public Guid SignUpAsync(TravelerViewModel traveler)
 {
     var loader = new Windows.ApplicationModel.Resources.ResourceLoader();
     return new Guid(loader.GetString("GuidNull"));
 }
Esempio n. 3
0
 public Task<TravelerViewModel> GetTravelerInformationAsync(TravelerViewModel traveler)
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 public Task SignInAsync(TravelerViewModel traveler)
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 Task<Guid> IModel.SignUpAsync(TravelerViewModel traveler)
 {
     throw new NotImplementedException();
 }