示例#1
0
        public RecipientContract GetAddressesListByPerson(int PersonID)
        {
            RecipientContract returncontract = new RecipientContract();

            returncontract.AddressList = AddressRepo.GetPersonAddressList(PersonID).ToList();

            return(returncontract);
        }
示例#2
0
        public RecipientContract GetPersonObject(int PersonID)
        {
            RecipientContract returnobject = new RecipientContract();

            returnobject.PersonObject = PersonRepo.GetPersonObject(PersonID);

            return(returnobject);
        }
示例#3
0
        public RecipientContract GetAddressObject(int AddressID)
        {
            RecipientContract RetunObject = new RecipientContract();

            RetunObject.AddressObject = AddressRepo.GetAddressObject(AddressID);

            return(RetunObject);
        }
示例#4
0
        public RecipientContract GetPersonList()
        {
            RecipientContract returnobject = new RecipientContract();

            returnobject.PersonList = PersonRepo.GetPersonList().ToList();

            return(returnobject);
        }
示例#5
0
        public RecipientContract GetAddressesList()
        {
            RecipientContract RetunObject = new RecipientContract();

            RetunObject.AddressList = AddressRepo.GetAddressList().ToList();

            return(RetunObject);
        }