public static void TeachersTest() { var repository = new TeacherAdoNetRepository(); var licenseRepository = new LicenseEFRepository(); var service = new TeacherService(repository, licenseRepository); var controller = new TeachersController(service); var teacherPostModel = new TeacherPostModel { FirstName = "Puzo", LastName = "Moe", LicenseNum = 2 }; controller.Create(teacherPostModel); var teachers = controller.GetAll(); }