public DummyUserService(IDomainNotificationMediatorService domainNotification,
                         RestfulContext context)
 {
     _domainNotification = domainNotification;
     _context            = context;
     _faker = new Faker();
 }
Example #2
0
 public UserController(
     INotificationHandler <DomainNotification> notifications,
     IDomainNotificationMediatorService mediator,
     IDummyUserService dummyUserService,
     IMapper mapper) : base(notifications, mediator)
 {
     _dummyUserService = dummyUserService;
     _mapper           = mapper;
 }
 protected ApiBaseController(INotificationHandler <DomainNotification> notifications,
                             IDomainNotificationMediatorService mediator)
 {
     _notifications = (DomainNotificationHandler)notifications;
     _mediator      = mediator;
 }