public IActionResult Get(int id) { var mentortech = repository.GetMentorTechnology(id); if (mentortech == null) { return(NotFound()); } return(Ok(mentortech)); }