Esempio n. 1
0
 //  constructor
 public LayananBL()
 {
     _layananDal = new LayananDal();
 }
Esempio n. 2
0
 //  constructor with injection
 public LayananBL(ILayananDal injLayananDal)
 {
     _layananDal = injLayananDal;
 }
 public void TestInit()
 {
     _layananDal = MockRepository.GenerateStub <ILayananDal>();
     _layananBL  = new LayananBL(_layananDal);
 }