public TeacherAttachmentServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.teacherAttachmentService = new TeacherAttachmentService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object); }
public TeacherAttachmentsController(ITeacherAttachmentService teacherAttachmentService) => this.teacherAttachmentService = teacherAttachmentService;