public void Get() { if (subject.Id != null) { subject = connector.Get((int)subject.Id); convertor.ConvertSubjectToExternal(subject, externalEntity); } }
public MasterDataClient() { Factory <ConvertorType> factory = new Factory <ConvertorType>(); connector = factory.CreateConnector(); convertor = factory.CreateConvertor(); subject = factory.CreateSubject(); }
abstract public void Post(AbstractSubject subject);