Ejemplo n.º 1
0
 public StoreController(IUnitOfWork _unitofwork)
     : base(_unitofwork)
 {
     _store         = new StoreService(_unitofwork);
     _admonth       = new AdMonthService(_unitofwork);
     _storeadchoice = new StoreAdChoiceService(_unitofwork);
     _common        = new CommonService(_unitofwork);
     _storeAdOption = new StoreOptionService(_unitofwork);
     _document      = new DocumentService(_unitofwork);
     _adoption      = new AdOptionService(_unitofwork);
 }
Ejemplo n.º 2
0
 public AdOptionController(IUnitOfWork _unitofwork)
     : base(_unitofwork)
 {
     _AdOption = new AdOptionService(_unitofwork);
     _common   = new CommonService(_unitofwork);
 }