public ContactResponseDTO Insert(ContactRequestDTO contact) { //TODO need to rethink for bad request submission - //is it even possible to send a bad request currently? (no integer id) ContactsEntity contactsEntity = _contactsMapper.convertRequestToEntity(contact); var id = _contactsRepo.Insert(contactsEntity); var foundInsert = _contactsRepo.FindOne(id); ContactResponseDTO contactResponseDTO = _contactsMapper.convertEntityToDTO(foundInsert); return(contactResponseDTO); }