Ejemplo n.º 1
0
        public Address CreateAddress(string street, string houseNumber)
        {
            var address = SearchAddress(street, houseNumber);

            if (address is null)
            {
                address = new Address(street, houseNumber);
                _addresses.AddModel(address);
            }
            return(address);
        }