Пример #1
0
 public LocationController(IIdentityService identityService, IMapper mapper, ILocationService locationService, IEventParentService eventParentService)
 {
     _identityService    = identityService;
     _mapper             = mapper;
     _locationService    = locationService;
     _eventParentService = eventParentService;
 }
 public EventTypeXEventGenreController(IEventTypeXEventGenreService eventTypeXEventGenreService, IIdentityService identityService, IMapper mapper, IEventParentService eventParentService)
 {
     _eventTypeXEventGenreService = eventTypeXEventGenreService;
     _identityService             = identityService;
     _mapper             = mapper;
     _eventParentService = eventParentService;
 }
Пример #3
0
 public PersonController(IIdentityService identityService, IMapper mapper, IEventParentService eventParentService, ITicketService ticketService, IPersonXTicketService personXTicketService)
 {
     _identityService      = identityService;
     _eventParentService   = eventParentService;
     _ticketService        = ticketService;
     _personXTicketService = personXTicketService;
     _mapper = mapper;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventParentController"/> class.
 /// </summary>
 /// <param name="httpContextAccessor">The class that provides <see cref="HttpContext"/> data.</param>
 /// <param name="service">The service for interacting with event parent data.</param>
 /// <param name="userManager">The class that provides functionality with application <see cref="User"/> classes.</param>
 public EventParentController(
     IHttpContextAccessor httpContextAccessor,
     IEventParentService service,
     UserManager <User> userManager)
     : base(
         httpContextAccessor,
         userManager)
 {
     this.service = service;
     this.service.AddApplicationUser(ApplicationUser);
 }
Пример #5
0
 public EventParentController(IEventParentService eventParentService, IIdentityService identityService, IMapper mapper, IEventTypeService eventTypeService, IEventGenreService eventGenreService, ILocationService locationService, IEventTypeXEventGenreService eventTypeXEventGenreService, ITicketService ticketService, IPersonXTicketService personXTicketService)
 {
     _eventParentService          = eventParentService;
     _identityService             = identityService;
     _mapper                      = mapper;
     _eventTypeService            = eventTypeService;
     _eventGenreService           = eventGenreService;
     _locationService             = locationService;
     _eventTypeXEventGenreService = eventTypeXEventGenreService;
     _ticketService               = ticketService;
     _personXTicketService        = personXTicketService;
 }