private async void button5_Click(object sender, EventArgs e) { //For update hash/guid ='d601fa4b-fb16-4f86-b4e0-395c5695a5f5' Country targetData = await repo.Find(Guid.Parse("12208d50-1043-45dc-8cd6-983d12f5b272")); targetData.Name = ".Net City"; targetData.Population = 1359876; await repo.Update(targetData.id, targetData); }
private async void button5_Click(object sender, EventArgs e) { //For update hash/guid ='d601fa4b-fb16-4f86-b4e0-395c5695a5f5' Country targetData = await repo.Find(Guid.Parse("d601fa4b-fb16-4f86-b4e0-395c5695a5f5")); targetData.Name = ".Net City"; targetData.Population = 1359876; targetData.Foundation = DateTime.Now; await repo.Update(targetData.id, targetData); }