Esempio n. 1
0
 public EventService(
     IEventRepository eventRepository,
     IEventAttendeesRepository eventAttendeesRepository,
     IMapper mapper,
     ILogger <EventService> logger)
 {
     _eventRepository          = eventRepository;
     _eventAttendeesRepository = eventAttendeesRepository;
     _mapper = mapper;
     _logger = logger;
 }
 public EventAttendanceService(
     IEmailSender sender,
     UserManager <WebAppUser> userManager,
     IEventAttendeesToBeApprovedRepository eventAttendeesToBeApproved,
     IEventAttendeesRepository eventAttendees,
     IUnitOfWork unitOfWork)
     : base(unitOfWork)
 {
     this.sender                     = sender;
     this.userManager                = userManager;
     this.eventAttendees             = eventAttendees;
     this.eventAttendeesToBeApproved = eventAttendeesToBeApproved;
 }