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); }
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); }