public ContactResponseDTO FindOne(int id) { ContactsEntity contactsEntity = _contactsRepo.FindOne(id); ContactResponseDTO contactResponseDTO; if (contactsEntity != null) { contactResponseDTO = _contactsMapper.convertEntityToDTO(contactsEntity); return(contactResponseDTO); } return(null); }