Esempio n. 1
0
 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")}"));
 }
Esempio n. 2
0
 public async Task <HttpStatusCode> CreateSegment(int roomId, TimeFrameDTO timeFrame)
 {
     return(await PostAsync($"rooms/{roomId}/segments", timeFrame));
 }