Ejemplo n.º 1
0
 public RoleService(ApplicationRoleManager roleManager, IRoleClaimRepository roleClaimRepository, IMapper mapper)
 {
     _roleManager         = roleManager.ThrowIfNull(nameof(roleManager));
     _roleClaimRepository = roleClaimRepository.ThrowIfNull(nameof(roleClaimRepository));
     _mapper = mapper.ThrowIfNull(nameof(mapper));
 }