Пример #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;
 }