public async Task <IActionResult> PostClass([FromBody] Class @class)
        {
            if (!ModelState.IsValid)
            {
                return(BadRequest(ModelState));
            }

            await _classService.AddAsync(@class);

            return(CreatedAtAction("GetClass", new { id = @class.Id }, @class));
        }