public async Task TestSomeMoo()
        {
            var result = await _roomService.GetRoomDataByIdAndDateUTC("StudyNorth", DateTime.Now.AddHours(-1), DateTime.Now);

            foreach (var item in result)
            {
                output.WriteLine(JsonSerializer.Serialize <RoomData>(item));
            }
        }
Exemple #2
0
 public async Task <IEnumerable <RoomData> > GetByIdDate(string roomId, DateTime fromDateTimeUtc, DateTime toDateTimeUtc)
 {
     System.Console.WriteLine(roomId);
     return(await _roomService.GetRoomDataByIdAndDateUTC(roomId, fromDateTimeUtc, toDateTimeUtc));
 }