Exemple #1
0
        public ContactResponseDTO FindOne(int id)
        {
            ContactsEntity     contactsEntity = _contactsRepo.FindOne(id);
            ContactResponseDTO contactResponseDTO;

            if (contactsEntity != null)
            {
                contactResponseDTO = _contactsMapper.convertEntityToDTO(contactsEntity);

                return(contactResponseDTO);
            }

            return(null);
        }