public IActionResult ChooseCourse(string UserId, string CourseId) { try { return(Ok(courseBll.ChooseCourse(UserId, CourseId))); } catch (Exception ex) { return(NotFound(ex.Message)); } }