private void BindComments() { var comments = DocumentDb.Initialize(); commentsRepeater.DataSource = comments; commentsRepeater.DataBind(); }
protected async void btnCreate_Click(object sender, EventArgs e) { await DocumentDb.CreateDocument(txtComment.Text); BindComments(); Clear(); }