private void CreateSubject(int order, int motherId) { BaseHandler bh = new BaseHandler(); Subject newSubject = new Subject(); newSubject.label = txtAddSubject.Text; newSubject.SubjectOrder = order; newSubject.MotherId = motherId; bh.CreateSubject(newSubject, this.UserId); txtAddSubject.Text = ""; BindTree(); }