Пример #1
0
 public AdoptionController(ILogger <AdoptionController> logger, IAdoptionService adoptionService)
 {
     _logger          = logger;
     _adoptionService = adoptionService;
 }
Пример #2
0
 public AdoptionController(IAdoptionService adoptionService, IMediatorHandler mediator, INotificationHandler <DomainNotification> notifications, ILoggerFactory loggerFactory, IUser user) : base(mediator, notifications, loggerFactory, user)
 {
     _adoptionService = adoptionService;
     _logger          = loggerFactory.CreateLogger("Error");
 }
Пример #3
0
 public AdoptAnimalController(IAdoptionService adoptionService)
 {
     _adoptionService = adoptionService;
 }