public RecipientContract GetAddressesListByPerson(int PersonID) { RecipientContract returncontract = new RecipientContract(); returncontract.AddressList = AddressRepo.GetPersonAddressList(PersonID).ToList(); return(returncontract); }
public RecipientContract GetPersonObject(int PersonID) { RecipientContract returnobject = new RecipientContract(); returnobject.PersonObject = PersonRepo.GetPersonObject(PersonID); return(returnobject); }
public RecipientContract GetAddressObject(int AddressID) { RecipientContract RetunObject = new RecipientContract(); RetunObject.AddressObject = AddressRepo.GetAddressObject(AddressID); return(RetunObject); }
public RecipientContract GetPersonList() { RecipientContract returnobject = new RecipientContract(); returnobject.PersonList = PersonRepo.GetPersonList().ToList(); return(returnobject); }
public RecipientContract GetAddressesList() { RecipientContract RetunObject = new RecipientContract(); RetunObject.AddressList = AddressRepo.GetAddressList().ToList(); return(RetunObject); }