Example #1
0
        public IActionResult GetCompletedCourseList(string id)
        {
            var courses = repository.GetCompletedCourseList(id);

            if (!courses.Any())
            {
                return(NoContent());
            }
            return(Ok(courses));
        }