Exemplo n.º 1
0
 public RolePrmModel(SysRoleService sysRoleService,
                     IMapper mapper,
                     SysCategoryService sysCategoryService)
 {
     _sysCategoryService = sysCategoryService;
     _mapper             = mapper;
     _sysRoleService     = sysRoleService;
 }
Exemplo n.º 2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="sysRoleService"></param>
 /// <param name="sysUserService"></param>
 /// <param name="sysCategoryService"></param>
 /// <param name="mapper"></param>
 public SysRoleController(SysRoleService sysRoleService,
                          SysUserService sysUserService,
                          SysCategoryService sysCategoryService,
                          IMapper mapper)
 {
     _sysCategoryService = sysCategoryService;
     _sysUserService     = sysUserService;
     _mapper             = mapper;
     _sysRoleService     = sysRoleService;
 }
Exemplo n.º 3
0
 public WorkContext(SysUserAuthentication sysUserAuthentication,
                    SysRoleService sysRoleService,
                    IHttpContextAccessor httpContextAccessor,
                    SysCategoryService sysCategoryService,
                    SysUserService sysUserService)
 {
     _sysRoleService        = sysRoleService;
     _sysCategoryService    = sysCategoryService;
     _sysUserAuthentication = sysUserAuthentication;
     _httpContextAccessor   = httpContextAccessor;
     _sysUserService        = sysUserService;
 }
Exemplo n.º 4
0
 public CategoryController(IWebHostEnvironment webHostEnvironment,
                           SysCategoryService sysCategoryService)
 {
     _webHostEnvironment = webHostEnvironment;
     _sysCategoryService = sysCategoryService;
 }