public HttpResponseMessage GetCourseById(int id)
        {
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.InternalServerError);

            try
            {
                CoursesManager courseManager = new CoursesManager();
                CourseEntity   course        = courseManager.GetCourse(id);
                response = Request.CreateResponse(HttpStatusCode.OK, course);
            }
            catch (Exception ex)
            {
                response.Content = new StringContent($"{GENERIC_ERROR}  [{ex.Message}]");
                DbLog.LogError("Error in CoursesController", ex);
            }
            return(response);
        }