public SysPermissionController(
     ISysPermissionRepo sysPermissionRepo
     , IMapper mapper,
     IUnitOfWork unitOfWork,
     MyContext myContext
     )
 {
     this._sysPermissionRepo = sysPermissionRepo;
     this._mapper            = mapper;
     this._unitOfWork        = unitOfWork;
     this._myContext         = myContext;
 }
Beispiel #2
0
 public SysRoleController(ISysRoleRepo sysRoleRepo,
                          IUnitOfWork unitOfWork,
                          IMapper mapper,
                          ISysRolePermissionRepo sysRolePermissionRepo,
                          ISysPermissionRepo sysPermissionRepo
                          )
 {
     this._sysRoleRepo           = sysRoleRepo;
     this._unitOfWork            = unitOfWork;
     this._mapper                = mapper;
     this._sysRolePermissionRepo = sysRolePermissionRepo;
     this._sysPermissionRepo     = sysPermissionRepo;
 }