async Task CompleteItem(Modal.StudentsInfo item) { item.Done = true; await manager.SaveTaskAsync(item); todoList.ItemsSource = await manager.GetTodoItemsAsync(); }
public async Task SaveTaskAsync(Modal.StudentsInfo item) { if (item.Id == null) { await todoTable.InsertAsync(item); } else { await todoTable.UpdateAsync(item); } }
public UserManagePage(Modal.StudentsInfo sinfo) { InitializeComponent(); BindingContext = sinfo; }