public async Task <IActionResult> Get() { var timeTable = _periodService.GetAllPeriodsAsync(); return(Ok(JsonSerializer.Serialize(timeTable))); }