/// <summary>
 /// Initializes a new instance of the <see cref="CalendarEventsController" /> class.
 /// </summary>
 /// <param name="eventCreatorService">The event creator service.</param>
 /// <param name="eventDeleterService">The event deleter service.</param>
 /// <param name="eventReaderService">The event reader service.</param>
 /// <param name="eventUpdaterService">The event updater service.</param>
 /// <param name="monthReaderService">The month reader service.</param>
 public CalendarEventsController(
     IEventCreatorService eventCreatorService,
     IEventDeleterService eventDeleterService,
     IEventReaderService eventReaderService,
     IEventUpdaterService eventUpdaterService,
     IMonthReaderService monthReaderService)
 {
     this.eventCreatorService = eventCreatorService;
     this.eventDeleterService = eventDeleterService;
     this.eventReaderService  = eventReaderService;
     this.eventUpdaterService = eventUpdaterService;
     this.monthReaderService  = monthReaderService;
 }
예제 #2
0
 public EventUpdater(IEventUpdaterService eventService)
 {
     this.eventService = eventService;
 }