public MembershipService( IUserRepository userRepository, IGroupRepository groupRepository, IGroupRightsRepository groupRightsRepository, IAspNetAuthorizerAdapter authorizerAdapter) { this.userRepository = userRepository; this.groupRepository = groupRepository; this.groupRightsRepository = groupRightsRepository; this.authorizerAdapter = authorizerAdapter; }
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; }