public IdentityService(IOptions <AppSettings> appSettings, HashEncrypt hashEncrypt, Users.Framework.Services.Interface.IUserServices iUserServices, IConfiguration iConfiguration, IFuncIdentity funcIdentity) { _appSettings = appSettings.Value; _hashEncrypt = hashEncrypt; _iUserServices = iUserServices; _funcIdentity = funcIdentity; }
public ArticleController(ICategoryServices categoryServices, IHttpContextAccessor context, IFuncIdentity funcIdentity) { _categoryServices = categoryServices; _context = context ?? throw new ArgumentNullException(nameof(context)); _funcIdentity = funcIdentity; }