Пример #1
0
 public EventsController(IEventService eventService, IEventLocationService eventLocationService, IEventTagService eventTagService, IEventMediaService eventMediaService, ITagService tagService)
 {
     _eventService         = eventService ?? throw new ArgumentNullException(nameof(eventService));
     _eventLocationService = eventLocationService ?? throw new ArgumentNullException(nameof(eventLocationService));
     _eventTagService      = eventTagService ?? throw new ArgumentNullException(nameof(eventTagService));
     _eventMediaService    = eventMediaService ?? throw new ArgumentNullException(nameof(eventMediaService));
     _tagService           = tagService ?? throw new ArgumentNullException(nameof(tagService));
 }
Пример #2
0
 public EventController(IEventService eventService, IServiceSlotService serviceSlotService, IAttendeeService attendeeService, IEventLocationService eventLocationService, IAgreementService agreementService)
 {
     _eventService         = eventService;
     _serviceSlotService   = serviceSlotService;
     _attendeeService      = attendeeService;
     _eventLocationService = eventLocationService;
     _agreementService     = agreementService;
 }
Пример #3
0
 public EventLocationController(IEventLocationService service, UserManager <ApplicationUser> userManager)
 {
     _service     = service;
     _userManager = userManager;
 }
Пример #4
0
 public EventLocationsController(IEventLocationService eventLocationService)
 {
     _eventLocationService = eventLocationService ?? throw new ArgumentNullException(nameof(eventLocationService));
 }
Пример #5
0
 public LocationController(IEventLocationService eventLocationService, IMapper mapper)
 {
     _eventLocationService = eventLocationService;
     _mapper = mapper;
 }