public IActionResult AcceptCourse([FromBody] Course course)
        {
            var result = repository.AcceptCourse(course);

            if (result)
            {
                return(Ok());
            }
            return(BadRequest());
        }