示例#1
0
        public void getAssistantsListTest()
        {
            List <Assistants> expected = AssistantHandler.DB.Assistants.ToList();
            List <Assistants> actual   = AssistantHandler.getAssistantsList();

            Assert.AreEqual(expected, actual);
        }
示例#2
0
 /// <summary>
 /// 绑定助理数据到控件上
 /// </summary>
 public void bindAssistantListToListRepeaterControl()
 {
     userlistRepeater.DataSource = AssistantHandler.getAssistantsList();
     userlistRepeater.DataBind();
 }