Пример #1
0
        public AssignmentAttachmentServiceTests()
        {
            this.storageBrokerMock = new Mock <IStorageBroker>();
            this.loggingBrokerMock = new Mock <ILoggingBroker>();

            this.assignmentAttachmentService = new AssignmentAttachmentService(
                storageBroker: this.storageBrokerMock.Object,
                loggingBroker: this.loggingBrokerMock.Object);
        }
Пример #2
0
 public AssignmentsAttachmentsController(IAssignmentAttachmentService assignmentAttachmentService) =>
 this.assignmentAttachmentService = assignmentAttachmentService;