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