public RoleController()
 {
     _roleService         = new AspNetRolesService();
     _webFunctionService  = new WebFunctionsService();
     _roleFunctionService = new RoleFunctionService();
     _aspNetUsersService  = new AspNetUsersService();
 }
 public FunctionService(IRepository <Function> functionRepository,
                        IRoleFunctionService roleFunctionService, IMapper mapper)
 {
     _functionRepository  = functionRepository;
     _roleFunctionService = roleFunctionService;
     _mapper = mapper;
 }
Example #3
0
 public RoleController(IRoleService _role
     , ISysFunctionService _sysfunctionPrivoder
     , IRoleFunctionService _roleFunction)
 {
     rolePrivoder = _role;
     sysfunctionPrivoder = _sysfunctionPrivoder;
     roleFunctionPrivoder = _roleFunction;
 }
Example #4
0
 public RoleController(IRoleService _role
                       , ISysFunctionService _sysfunctionPrivoder
                       , IRoleFunctionService _roleFunction)
 {
     rolePrivoder         = _role;
     sysfunctionPrivoder  = _sysfunctionPrivoder;
     roleFunctionPrivoder = _roleFunction;
 }
Example #5
0
 public FunctionModel(IRoleService service, IFunctionService service2, IRoleFunctionService service3)
 {
     _service  = service;
     _service2 = service2;
     _service3 = service3;
 }