Esempio n. 1
0
        public OperationResult <ISampleDTO> SampleMethod(ISampleDTO sampleDTO)
        {
            ISampleBDC sampleBDC = (ISampleBDC)BDCFactory.Instance.Create(BDCType.SampleBDC);

            return(sampleBDC.SampleMethod(sampleDTO));
        }
Esempio n. 2
0
        public OperationResult <ISampleDTO> SampleMethod(ISampleDTO sampleDTO)
        {
            ISampleBDC sampleBDC = (ISampleBDC)BDCFactory.Instance.Create(BDCType.SampleBDC);//because bdcfactory is singleton, as we cant create object with new keyword

            return(sampleBDC.SampleMethod(sampleDTO));
        }