Beispiel #1
0
        public TicketLinkServiceTest()
        {
            SetUp();
            var mockLog = new Mock <ILogger <TicketLinkService> >();

            _unitOfWorkMock = new Mock <IUnitOfWork>();
            _sut            = new TicketLinkService(_unitOfWorkMock.Object, Mapper, mockLog.Object);
        }
Beispiel #2
0
 public LinkedTicketsController(
     ITicketLinkService ticketLinkService,
     ILogger <LinkedTicketsController> logger,
     IMapper mapper)
 {
     _mapper            = mapper;
     _logger            = logger;
     _ticketLinkService = ticketLinkService;
 }
 public TicketService(
     IUnitOfWork unitOfWork,
     IMapper mapper,
     ITagService tagService,
     ITicketLinkService ticketLinkService,
     ILogger <TicketService> logger)
 {
     _unitOfWork        = unitOfWork;
     _mapper            = mapper;
     _tagService        = tagService;
     _ticketLinkService = ticketLinkService;
     _logger            = logger;
 }