public async Task <ActionResult <Technology> > GetTechnology(int id) { var technology = await repository.GetOneByIdAsync(id); if (technology == null) { return(NotFound()); } return(technology); }