예제 #1
0
        public void Test_Get_All_Student()
        {
            List <StudentVM> student2 = new List <StudentVM>();

            //Act
            student2 = student.GetAllStudent();

            //Assert
            Assert.AreEqual(student2.Count, 1);
        }
예제 #2
0
        public ActionResult Index()
        {
            List <StudentVM> s = studentAppService.GetAllStudent();

            return(View(s));
        }