public AccountController( IUserService userSVC , IRoleService roleSVC , IUserRoleService userRolesSVC , IRoleAccessService roleAccessSVC , IAccessLinkService accessLinkSVC //, IHttpContextAccessor httpContextAccessor , IConfiguration configuration , IMapper mapper , IEmailSender emailSender , IOptions <EmailConfiguration> emailConfiguration ) { _userSVC = userSVC; _roleSVC = roleSVC; _userRolesSVC = userRolesSVC; _roleAccessSVC = roleAccessSVC; _accessLinkSVC = accessLinkSVC; //_httpContextAccessor = httpContextAccessor; _configuration = configuration; _mapper = mapper; _emailSender = emailSender; _emailConfiguration = emailConfiguration.Value; }
public UserController(IUserService userSVC , IRoleService roleSVC , IUserRoleService userRolesSVC , IRoleAccessService roleAccessSVC , IAccessLinkService accessLinkSVC , IHttpContextAccessor httpContextAccessor , IConfiguration configuration , IMapper mapper ) { _userSVC = userSVC; _roleSVC = roleSVC; _userRolesSVC = userRolesSVC; //_roleAccessSVC = roleAccessSVC; //_accessLinkSVC = accessLinkSVC; //_httpContextAccessor = httpContextAccessor; _configuration = configuration; _mapper = mapper; }