Can anyone tell me the function to call to save a new event to the calendar event repository?
I have been able to create a new calendar using
repository.CreateCalendar(ownerId, name, slug)<BR>
I am having trouble finding a similar function to create an event that will save into the repository.
I can populate an event like this:
var newEvent = repository.GetNewCalendarEvent(authorId,
calendarId);
newEvent.Title =
"Some title"
;
newEvent.Description = "Some
description";
newEvent.AllDay =
true
;
newEvent.StartTime =
currentDay;
newEvent.EndTime = currentDay.AddDays(1);
What is the correct way to save a populated event back into the repository?