Exemplo n.º 1
0
        public void TestUnity()
        {
            var student = new Student();

            Assert.IsInstanceOfType(student, typeof(Model));
            Assert.IsInstanceOfType(student, typeof(IModel));
            Assert.IsInstanceOfType(student, typeof(IStudent));
        }
Exemplo n.º 2
0
 public ActionResult GetById(Student student)
 {
     return View("Saved", student);
 }