Exemple #1
0
 public ProfileController()
 {
     _userDal        = InstanceFactory.GetInstance <IUserDal>();
     _orderDetailDal = InstanceFactory.GetInstance <IOrderDetailDal>();
     _addressDal     = InstanceFactory.GetInstance <IAddressDal>();
     _regionDal      = InstanceFactory.GetInstance <IRegionDal>();
 }
 public CompanyController()
 {
     _regionDal       = InstanceFactory.GetInstance <IRegionDal>();
     _companyDal      = InstanceFactory.GetInstance <ICompanyDal>();
     _menuDal         = InstanceFactory.GetInstance <IMenuDal>();
     _reviewDal       = InstanceFactory.GetInstance <IReviewDal>();
     _branchDal       = InstanceFactory.GetInstance <IBranchDal>();
     _companyApplyDal = InstanceFactory.GetInstance <ICompanyApplyDal>();
 }
Exemple #3
0
 public RegionManager(IRegionDal regionDal)
 {
     _regionDal = regionDal;
 }
Exemple #4
0
 public RegionManager(IRegionDal regionDal, IUnitOfWork unitOfWork) : base(regionDal,
                                                                           unitOfWork)
 {
     _regionDal  = regionDal;
     _unitOfWork = unitOfWork;
 }
Exemple #5
0
 public RegionBll(IRegionDal regionDal)
 {
     _regionDal = regionDal;
 }