示例#1
0
 public IndividualScheduleHolidayResponse UpdateHoliday(long scheduleId, Holiday holiday)
 {
     var body = new { holiday };
     return GenericPut<IndividualScheduleHolidayResponse>(string.Format("business_hours/schedules/{0}/holidays/{1}.json", scheduleId, holiday.Id), body);
 }
示例#2
0
 public async Task<IndividualScheduleHolidayResponse> UpdateHolidayAsync(long scheduleId, Holiday holiday)
 {
     var body = new { holiday };
     return await GenericPutAsync<IndividualScheduleHolidayResponse>(string.Format("business_hours/schedules/{0}/holidays/{1}.json", scheduleId, holiday.Id), body);
 }