public ExamAttachmentServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.examAttachmentService = new ExamAttachmentService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object); }
public ExamsAttachmentsController(IExamAttachmentService examAttachmentService) => this.examAttachmentService = examAttachmentService;