internal APartyEntity Read(int id) { // check if supplier, if not get customer and return APartyEntity party = SupplierMapper.Read(id); if (party == null) { party = CustomerMapper.Read(id); } return(party); }