예제 #1
0
 public ICalController(
     ICalendarService calendarService,
     ICalendarValidator calendarValidator,
     ICalendarExportService calendarExportService,
     ICalendarImportService calendarImportService,
     ICacheService cacheService)
 {
     _calendarService       = calendarService;
     _calendarValidator     = calendarValidator;
     _calendarExportService = calendarExportService;
     _calendarImportService = calendarImportService;
     _cacheService          = cacheService;
 }
예제 #2
0
 public CalendarController(
     IMapper mapper,
     ICalendarService calendarService,
     ICalendarValidator calendarValidator,
     NotificationHubManager notificationHubManager,
     CalendarHubManager calendarHubManager)
 {
     _mapper              = mapper;
     _calendarService     = calendarService;
     _calendarValidator   = calendarValidator;
     _notificationManager = notificationHubManager;
     _calendarManager     = calendarHubManager;
 }