示例#1
0
 public EventProductsModel(
     IEventInfoRetrievalService eventsService,
     IEventManagementService eventManagementService)
 {
     _eventsService          = eventsService;
     _eventManagementService = eventManagementService;
 }
示例#2
0
 public CreateModel(
     IEventManagementService eventsService,
     ICurrentOrganizationAccessorService currentOrganizationAccessorService)
 {
     _eventsService = eventsService;
     _currentOrganizationAccessorService = currentOrganizationAccessorService;
 }
示例#3
0
        public EventController()
        {
            _eventManagementService = new EventManagementService();
            _userService            = new UserService();
            _placeService           = new PlaceService();
            List <Object> list = new List <Object>
            {
                new { Value = "00:00:00", Text = "00:00" },
                new { Value = "01:00:00", Text = "01:00" },
                new { Value = "02:00:00", Text = "02:00" },
                new { Value = "03:00:00", Text = "03:00" },
                new { Value = "04:00:00", Text = "04:00" },
                new { Value = "05:00:00", Text = "05:00" },
                new { Value = "06:00:00", Text = "06:00" },
                new { Value = "07:00:00", Text = "07:00" },
                new { Value = "08:00:00", Text = "08:00" },
                new { Value = "09:00:00", Text = "09:00" },
                new { Value = "10:00:00", Text = "10:00" },
                new { Value = "11:00:00", Text = "11:00" },
                new { Value = "12:00:00", Text = "12:00" },
                new { Value = "13:00:00", Text = "13:00" },
                new { Value = "14:00:00", Text = "14:00" },
                new { Value = "15:00:00", Text = "15:00" },
                new { Value = "16:00:00", Text = "16:00" },
                new { Value = "17:00:00", Text = "17:00" },
                new { Value = "18:00:00", Text = "18:00" },
                new { Value = "19:00:00", Text = "19:00" },
                new { Value = "20:00:00", Text = "20:00" },
                new { Value = "21:00:00", Text = "21:00" },
                new { Value = "22:00:00", Text = "22:00" },
                new { Value = "23:00:00", Text = "23:00" }
            };

            ViewBag.Times = list;
        }
        public EventController()
        {
            _eventManagementService = new EventManagementService();
            _userService = new UserService();
            _placeService = new PlaceService();
            List<Object> list = new List<Object>
            {
               new {Value = "00:00:00", Text = "00:00"},
               new {Value = "01:00:00", Text = "01:00"},
               new {Value = "02:00:00", Text = "02:00"},
               new {Value = "03:00:00", Text = "03:00"},
               new {Value = "04:00:00", Text = "04:00"},
               new {Value = "05:00:00", Text = "05:00"},
               new {Value = "06:00:00", Text = "06:00"},
               new {Value = "07:00:00", Text = "07:00"},
               new {Value = "08:00:00", Text = "08:00"},
               new {Value = "09:00:00", Text = "09:00"},
               new {Value = "10:00:00", Text = "10:00"},
               new {Value = "11:00:00", Text = "11:00"},
               new {Value = "12:00:00", Text = "12:00"},
               new {Value = "13:00:00", Text = "13:00"},
               new {Value = "14:00:00", Text = "14:00"},
               new {Value = "15:00:00", Text = "15:00"},
               new {Value = "16:00:00", Text = "16:00"},
               new {Value = "17:00:00", Text = "17:00"},
               new {Value = "18:00:00", Text = "18:00"},
               new {Value = "19:00:00", Text = "19:00"},
               new {Value = "20:00:00", Text = "20:00"},
               new {Value = "21:00:00", Text = "21:00"},
               new {Value = "22:00:00", Text = "22:00"},
               new {Value = "23:00:00", Text = "23:00"}
            };

            ViewBag.Times = list;
        }
 public CartListController(IOptionsSnapshot <AppSettings> settings, ICartService cartSvc, IIdentityService <ApplicationUser> identitySvc, IEventManagementService evManagementService)
 {
     this.identitySvc            = identitySvc;
     this.cartSvc                = cartSvc;
     this.eventManagementService = evManagementService;
     this.imageServiceBaseUrl    = $"{settings.Value.ImageUrl}/api/image";
 }
示例#6
0
 public VoteController()
 {
     _votingService          = new VotingService();
     _eventManagementService = new EventManagementService();
     _eventDetailsService    = new EventDetailsService();
     _placeService           = new PlaceService();
 }
 public VoteController()
 {
     _votingService = new VotingService();
     _eventManagementService = new EventManagementService();
     _eventDetailsService = new EventDetailsService();
     _placeService = new PlaceService();
 }
 public EventManagementViewModel(IEventManagementService eventManagementService)
 {
     _eventManagementService = eventManagementService;
     NewOrEditEvent          = new Event()
     {
         Active = true
     };
 }
 public BoardGameEventService(ICalendarClientFactory fff, ICalendarService calendarService, IEventManagementService eventManagementService, IEventFilterFactory eventFilterFactory, IConsole console)
 {
     this.fff                    = fff;
     this.fff.UserName           = "******";
     this.calendarService        = calendarService;
     this.eventManagementService = eventManagementService;
     this.eventFilterFactory     = eventFilterFactory;
     this.console                = console;
 }
 public HomeController(IIdentiService identiService, IEventsRepository eventsRepository, ITicketsRepository ticketsRepository,
                       IOrderService orderService, IEventManagementService eventManagementService) : base()
 {
     _identiService          = identiService;
     _eventsRepository       = eventsRepository;
     _ticketsRepository      = ticketsRepository;
     _orderService           = orderService;
     _eventManagementService = eventManagementService;
 }
 public OrderController(IOptions <PaymentSettings> paymentSettings, IOrderService orderSvc, IIdentityService <ApplicationUser> identitySvc, ICartService cartSvc,
                        IEventManagementService eventManagementSvc)
 {
     _identitySvc         = identitySvc;
     _orderSvc            = orderSvc;
     _cartSvc             = cartSvc;
     _eventManagementSvc  = eventManagementSvc;
     this.paymentSettings = paymentSettings.Value;
 }
示例#12
0
 public EditModel(
     IEventManagementService eventsService,
     IEventInfoRetrievalService eventInfoRetrievalService,
     ICurrentOrganizationAccessorService currentOrganizationAccessorService)
 {
     _eventsService                      = eventsService;
     _eventInfoRetrievalService          = eventInfoRetrievalService;
     _currentOrganizationAccessorService = currentOrganizationAccessorService;
 }
示例#13
0
        public EventManagementController(IEventManagementService service, ITimeProvider time)
        {
            this.service = service;
            this.time    = time;

            mapperConfig = new MapperConfiguration(config => {
                config.CreateMap <EventManagement, EventManagementViewModel>();
                config.CreateMap <EventManagementCreateModel, EventManagement>();
            });
        }
示例#14
0
        public EventsController(
            IEventInfoRetrievalService eventInfoService,
            IEventManagementService eventManagementService)
        {
            _eventInfoService = eventInfoService ?? throw
                                    new ArgumentNullException(nameof(eventInfoService));

            _eventManagementService = eventManagementService ?? throw
                                          new ArgumentNullException(nameof(eventManagementService));
        }
示例#15
0
 public CalendarImporter(
     ICalendarService calendarService,
     IEventManagementService eventService,
     IJsonFileRepository <Event> jsonFileRepository,
     IConsole console)
 {
     this.calendarService    = calendarService;
     this.eventService       = eventService;
     this.jsonFileRepository = jsonFileRepository;
     this.console            = console;
 }
示例#16
0
 public HomeViewModel(
     IActivityParticipationService activityParticipationService,
     IActivityManagementService activityManagementService,
     IEventParticipationService eventParticipationService,
     IEventManagementService eventManagementService)
 {
     _activityParticipationService = activityParticipationService;
     _activityManagementService    = activityManagementService;
     _eventParticipationService    = eventParticipationService;
     _eventManagementService       = eventManagementService;;
     NewEventParticipation         = new EventParticipation();
     NewActivityParticipation      = new ActivityParticipation();
 }
示例#17
0
 public EventManagmentMock()
 {
     _proxy = CreateEventManagement();
 }
示例#18
0
 public DailyAppointmentGenerator(IEventManagementService eventManagementService)
 {
     this.eventManagementService = eventManagementService;
 }
 public CartController(IEventManagementService eventManagementService, ICartService cartService, IIdentityService <ApplicationUser> identitySvc)
 {
     this.eventManagementService = eventManagementService;
     this.cartService            = cartService;
     this.identitySvc            = identitySvc;
 }
示例#20
0
 public CatalogController(IEventsSearch eventsSearchService, IEventManagementService evManagementService)
 {
     this.eventsSearchService    = eventsSearchService;
     this.eventManagementService = evManagementService;
 }
示例#21
0
 public CreateEventActionHandler(IChooseCalendarStepHandler chooseCalendarStepHandler, IEventManagementService eventService, IConsole console)
     : base(console, "Create event")
 {
     this.chooseCalendarStepHandler = chooseCalendarStepHandler;
     this.eventService = eventService;
 }
示例#22
0
 public GoogleEventUpdateService(IEventManagementService eventService)
 {
     this.eventService = eventService;
 }
 public DeleteModel(IEventInfoRetrievalService eventInfoRetrievalService, IEventManagementService eventManagementService)
 {
     _eventInfoRetrievalService = eventInfoRetrievalService ?? throw new ArgumentNullException(nameof(eventInfoRetrievalService));
     _eventManagementService    = eventManagementService ?? throw new ArgumentNullException(nameof(eventManagementService));
 }
示例#24
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EventManagementController"/> class.
 /// </summary>
 /// <param name="_serviceParam">The service parameter.</param>
 public EventManagementController(IEventManagementService serviceParam)
 {
     this._service = serviceParam;
 }