public IActionResult mentorenrolledcourses(string email) { try { var result = repository.GetMentorEnrolledCourses(email); return(Ok(result)); } catch (Exception) { throw; } }