Exemplo n.º 1
0
        public void addADR()
        {
            ADR _ADR = new ADR
            {
                ADRName     = "Name",
                ADRAddress  = "address1",
                ADRAddress2 = "address2",
                ADRCity     = "city1",
                ADRStateID  = 1,
                ADRZip      = "12343",
            };
            var _id = _IADRRepository.addADR(_ADR);

            Assert.IsTrue(_id > 0, "failed");
        }
Exemplo n.º 2
0
 public int addADR(ADR _ADR)
 {
     return(_iADRRepository.addADR(Mapper.Map <DTO.ADR, MMC.Core.Data.Model.ADR>(_ADR)));
 }