/// <summary>
            /// Updates calendar exception.	
            /// </summary>
            /// <param name="name">The name of the file.</param>
             /// <param name="calendarUid">Calendar Uid</param>
            /// <param name="index">Calendar exception index</param>
            /// <param name="fileName">The name of the project document to save changes to. If this parameter is omitted then the changes will be saved to the source project document.</param>
            /// <param name="folder">The document folder.</param>
            /// <param name="storage">The document storage.</param>
            public void UpdatesCalendarException(string name, int calendarUid, int index, string fileName, string folder, CalendarException calendarException, string storage = "")
            {
                // PUT 	tasks/{name}/calendars/{calendarUid}/calendarExceptions/{index}?appSid={appSid}&fileName={fileName}&storage={storage}&folder={folder} 

                string apiUrl = string.Format(@"tasks/{0}/calendars/{1}/calendarExceptions/{2}?fileName={3}&storage={4}&folder={5}",
                                                name, calendarUid, index, fileName, storage, folder);


                ServiceController.Put(apiUrl, AppSid, AppKey, JsonConvert.SerializeObject(calendarException));
            }
            /// <summary>
            /// Adds a new calendar exception to a calendar.	
            /// </summary>
            /// <param name="name">The name of the file.</param>
             /// <param name="calendarUid">Calendar Uid</param>
            /// <param name="fileName">The name of the project document to save changes to. If this parameter is omitted then the changes will be saved to the source project document.</param>
            /// <param name="folder">The document folder.</param>
            /// <param name="storage">The document storage.</param>
            public void AddNewCalendarExceptionToACalendar(string name, int calendarUid, string fileName, string folder, CalendarException calendarException, string storage = "")
            {
                // POST 	tasks/{name}/calendars/{calendarUid}/calendarExceptions?appSid={appSid}&fileName={fileName}&storage={storage}&folder={folder} 

                string apiUrl = string.Format(@"tasks/{0}/calendars/{1}/calendarExceptions?fileName={2}&storage={3}&folder={4}",
                                                name, calendarUid, fileName, storage, folder);

                ServiceController.Post(apiUrl, AppSid, AppKey, JsonConvert.SerializeObject(calendarException));
            }