示例#1
0
 public BasketLineController(IMapper mapper, IBasketRepository basketRepository, IEventRepository eventRepository, IEventCatalogService eventCatalogService)
 {
     _mapper              = mapper;
     _basketRepository    = basketRepository;
     _eventRepository     = eventRepository;
     _eventCatalogService = eventCatalogService;
 }
 public EventCatalogController(IEventCatalogService eventCatalogService, IShoppingBasketService shoppingBasketService, Settings settings, IHttpContextAccessor IHttpContextAccessor)
 {
     this.eventCatalogService   = eventCatalogService;
     this.shoppingBasketService = shoppingBasketService;
     this.settings          = settings;
     this._GetCurrentConext = IHttpContextAccessor;
 }
示例#3
0
 public CartController(IIdentityService <ApplicationUser> identityService,
                       IEventCatalogService catalogService,
                       ICartService cartService)
 {
     _identityService = identityService;
     _cartService     = cartService;
     _catalogService  = catalogService;
 }
 public EventCatalogController(IEventCatalogService eventCatalogService,
                               IShoppingBasketService shoppingBasketService,
                               Settings settings)
 {
     this.eventCatalogService   = eventCatalogService;
     this.shoppingBasketService = shoppingBasketService;
     this.settings = settings;
 }
示例#5
0
 public BasketLinesController(IBasketRepository basketRepository,
                              IBasketLinesRepository basketLinesRepository, IEventRepository eventRepository,
                              IEventCatalogService eventCatalogService, IMapper mapper)
 {
     _basketRepository      = basketRepository;
     _basketLinesRepository = basketLinesRepository;
     _eventRepository       = eventRepository;
     _eventCatalogService   = eventCatalogService;
     _mapper = mapper;
 }
示例#6
0
 public BasketLinesController(IBasketLineRepository basketLineRepository,
                              IBasketRepository basketRepository,
                              IEventRepository eventRepository,
                              IEventCatalogService eventCatalogService)
 {
     this._basketLineRepository = basketLineRepository;
     this._basketRepository     = basketRepository;
     this._eventRepository      = eventRepository;
     this._eventCatalogService  = eventCatalogService;
 }
示例#7
0
 public BasketLinesController(IBasketRepository basketRepository,
                              IBasketLinesRepository basketLinesRepository, IEventRepository eventRepository,
                              IEventCatalogService eventCatalogService, IMapper mapper, IBasketChangeEventRepository basketChangeEventRepository)
 {
     this.basketRepository            = basketRepository;
     this.basketLinesRepository       = basketLinesRepository;
     this.eventRepository             = eventRepository;
     this.eventCatalogService         = eventCatalogService;
     this.basketChangeEventRepository = basketChangeEventRepository;
     this.mapper = mapper;
 }
 public PostEventController(IEventCatalogService service)
 {
     _service = service;
 }
示例#9
0
        //public CatalogController(IEventCatalogService service)
        //{
        //    _service = service;
        //}

        //onstructor can also be written like this with only one statement
        public CatalogController(IEventCatalogService service) =>
示例#10
0
 public EventDetailController(IEventCatalogService ecatalogSvc) =>
 public AdminController(IEventCatalogService eventCatalogService, Settings settings)
 {
     this.eventCatalogService = eventCatalogService;
 }
 public EventController(IEventCatalogService catalogSvc) =>
 public SearchEventCatalogController(IEventCatalogService ecatalogSvc) =>
 public EventCatalogController(IEventCatalogService eventCatalogService)
 {
     _CatalogService = eventCatalogService;
 }
 public EventTicketsController(IEventCatalogService catalogService)
 {
     this._catalogService = catalogService;
 }