public CalendarEntry ScheduleCalendarEntry(CalendarIdentityService calendarIdentityService, string description,
     string location, Owner owner, DateRange timeSpan, Repetition repetition, Alarm alarm,
     IEnumerable<Participant> invitees = null)
 {
     return new CalendarEntry(this._tenantId, this._calendarId, calendarIdentityService.GetNextCalendarEntryId(),
         description, location, owner, timeSpan, repetition, alarm, invitees);
 }
 public CalendarApplicationService(ICalendarRepository calendarRepository,
     ICalendarEntryRepository calendarEntryRepository, CalendarIdentityService calendarIdentityService,
     ICollaboratorService collaboratorService)
 {
     this._calendarRepository = calendarRepository;
     this._calendarEntryRepository = calendarEntryRepository;
     this._calendarIdentityService = calendarIdentityService;
     this._collaboratorService = collaboratorService;
 }