Example #1
0
        public void TestUnity()
        {
            var student = new Student();

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