コード例 #1
0
 public UserRoleBL()
 {
     _unitOfWork         = new CmsUoW();
     roleService         = _unitOfWork.Repository <Role>();
     userService         = new UserStore(_unitOfWork);
     employeeInofService = new EmployeeBL(_unitOfWork);
 }
コード例 #2
0
 public BaseAPCargoBL(ICmsUoW unitOfWork)
 {
     this._unitOfWork       = unitOfWork;
     this._entityRepository = unitOfWork.Repository <TEntity>();
 }
コード例 #3
0
 public BaseAPCargoBL()
 {
     this._unitOfWork       = new CmsUoW();
     this._entityRepository = _unitOfWork.Repository <TEntity>();
 }