public void getAssistantsListTest() { List <Assistants> expected = AssistantHandler.DB.Assistants.ToList(); List <Assistants> actual = AssistantHandler.getAssistantsList(); Assert.AreEqual(expected, actual); }
/// <summary> /// 绑定助理数据到控件上 /// </summary> public void bindAssistantListToListRepeaterControl() { userlistRepeater.DataSource = AssistantHandler.getAssistantsList(); userlistRepeater.DataBind(); }