Ejemplo n.º 1
0
 public RightsService(IUserRightsRepository iuserRightsRepository,
                      IUserRelateRoleRightRepository userRelateRoleRightRepository,
                      IMapper mapper)
 {
     _IUserRightsRepository         = iuserRightsRepository;
     _userRelateRoleRightRepository = userRelateRoleRightRepository;
     _IMapper = mapper;
 }
Ejemplo n.º 2
0
 public RoleService(IStaffRepository iUserRoleRepository, IUserRelateInfoRoleRepository userRelateInfoRoleRepository, IUserRightsRepository userRightsRepository, IMapper iMapper, IUserRelateRoleRightRepository userRelateRoleRightRepository)
 {
     _IUserRoleRepository          = iUserRoleRepository;
     _userRelateInfoRoleRepository = userRelateInfoRoleRepository;
     _userRightsRepository         = userRightsRepository;
     _IMapper = iMapper;
     _userRelateRoleRightRepository = userRelateRoleRightRepository;
 }
Ejemplo n.º 3
0
 public RoleService(IUserRoleRepository userRoleRepository,
                    IUserRelateInfoRoleRepository userRelateInfoRoleRepository,
                    IUserRightsRepository userRightsRepository,
                    IUserRelateRoleRightRepository userRelateRoleRightRepository,
                    IUserInfoRepository userInfoRepository,
                    IMapper mapper)
 {
     _IUserRoleRepository           = userRoleRepository;
     _userRelateInfoRoleRepository  = userRelateInfoRoleRepository;
     _userRightsRepository          = userRightsRepository;
     _userRelateRoleRightRepository = userRelateRoleRightRepository;
     _userInfoRepository            = userInfoRepository;
     _IMapper = mapper;
 }
 public UserRightsService(IUserRightsRepository rep)
 {
     repo = rep;
 }