Example #1
0
        public TeacherContactServiceTests()
        {
            this.storageBrokerMock = new Mock <IStorageBroker>();
            this.loggingBrokerMock = new Mock <ILoggingBroker>();

            this.teacherContactService = new TeacherContactService(
                storageBroker: this.storageBrokerMock.Object,
                loggingBroker: this.loggingBrokerMock.Object);
        }
 public TeacherContactsController(ITeacherContactService teacherContactService) =>
 this.teacherContactService = teacherContactService;