//[Authorize(Roles = "Admin, Employee")]
        public IActionResult Delete(int id)
        {
            IActionResult result = Unauthorized();

            try
            {
                _db.DeleteClass(id);
                result = Ok();
            }
            catch (Exception)
            {
                result = BadRequest(new { Message = "Failed to remove class" });
            }
            return(result);
        }