public CustomerDTO Insert(CustomerDTO customerDTO) { var customer = _customerMapper.MapperToEntity(customerDTO); var id = _customerRepository.Insert(customer); return(Get(id)); }