Esempio n. 1
0
        public List <AddressViewModel> GetAllAddresses(AddressViewModel addressView)
        {
            dm.Address              addressDomainModel = createModel.MappingAddress(addressView);
            List <dm.Address>       domainAddressList  = AddressHelper.GetAddressInfoById(addressDomainModel);
            List <AddressViewModel> viewAddressList    = createModel.MappingView(domainAddressList);

            return(viewAddressList);
        }
Esempio n. 2
0
        public void Test_GetAddressInfoById()
        {
            var sut = AddressHelper.GetAddressInfoById(address);

            Assert.NotNull(sut);
        }