public IActionResult Class()
        {
            var result = new List <Class>();

            try
            {
                result = _classBusiness.Class();
                return(Ok(result));
            }
            catch (Exception ex)
            {
                return(BadRequest(ex));
            }
        }