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