public async Task <HttpStatusCode> RemoveSegmentsInRange(int roomId, TimeFrameDTO timeFrame) { return(await DeleteAsync($"rooms/{roomId}/segments?start={timeFrame.Start.ToString("ddMMyyyyhhmmss")}&end={timeFrame.End.ToString("ddMMyyyyhhmmss")}")); }
public async Task <HttpStatusCode> CreateSegment(int roomId, TimeFrameDTO timeFrame) { return(await PostAsync($"rooms/{roomId}/segments", timeFrame)); }