public CalendarEntryAttachmentServiceTests() { this.storageBrokerMock = new Mock <IStorageBroker>(); this.loggingBrokerMock = new Mock <ILoggingBroker>(); this.dateTimeBrokerMock = new Mock <IDateTimeBroker>(); this.calendarEntryAttachmentService = new CalendarEntryAttachmentService( storageBroker: this.storageBrokerMock.Object, loggingBroker: this.loggingBrokerMock.Object, dateTimeBroker: this.dateTimeBrokerMock.Object); }
public CalendarEntriesAttachmentsController(ICalendarEntryAttachmentService calendarEntryAttachmentService) => this.calendarEntryAttachmentService = calendarEntryAttachmentService;