Пример #1
0
 public Setup UpdateSetup(Setup setup)
 {
     if (setup.Id == 0)
     {
         setup.Id = GetNextSetupId();
     }
     _db.Table<Setup>().Save(setup);
     return setup;
 }
Пример #2
0
 public SetupPageViewModel()
 {
     CurrentSetup = new Setup()
     {
         Url = "http://192.168.178.3:8080",
         RemoteUrl = "http://myremotehostname.tld:8080",
         Username = "******",
         Password = "******"
     };
 }