Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ArticleController(ICategoryServices categoryServices, IHttpContextAccessor context, IFuncIdentity funcIdentity)
 {
     _categoryServices = categoryServices;
     _context          = context ?? throw new ArgumentNullException(nameof(context));
     _funcIdentity     = funcIdentity;
 }