Exemplo n.º 1
0
 public MembershipService(
     IUserRepository userRepository,
     IGroupRepository groupRepository,
     IGroupRightsRepository groupRightsRepository,
     IAspNetAuthorizerAdapter authorizerAdapter)
 {
     this.userRepository        = userRepository;
     this.groupRepository       = groupRepository;
     this.groupRightsRepository = groupRightsRepository;
     this.authorizerAdapter     = authorizerAdapter;
 }
Exemplo n.º 2
0
 public GroupRightsApiController(
     IGroupRightsRepository groupRightsRepository,
     IGroupRepository groupRepository,
     IMembershipService membershipService,
     IMapper mapper,
     ILogger logger,
     IStringLocalizer <GroupRightsApiController> localizer) : base(mapper, logger, localizer)
 {
     this.groupRightsRepository = groupRightsRepository;
     this.groupRepository       = groupRepository;
     this.membershipService     = membershipService;
 }