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)); }
public EventController(IEventService eventService, IServiceSlotService serviceSlotService, IAttendeeService attendeeService, IEventLocationService eventLocationService, IAgreementService agreementService) { _eventService = eventService; _serviceSlotService = serviceSlotService; _attendeeService = attendeeService; _eventLocationService = eventLocationService; _agreementService = agreementService; }
public EventLocationController(IEventLocationService service, UserManager <ApplicationUser> userManager) { _service = service; _userManager = userManager; }
public EventLocationsController(IEventLocationService eventLocationService) { _eventLocationService = eventLocationService ?? throw new ArgumentNullException(nameof(eventLocationService)); }
public LocationController(IEventLocationService eventLocationService, IMapper mapper) { _eventLocationService = eventLocationService; _mapper = mapper; }