public ProductController(IHttpContextAccessor haccess, InveonContext _inveonContext) { inveonContext = _inveonContext; hcontext = haccess.HttpContext; user = ClaimIdentityBusiness.GetUser(hcontext.User); productBusiness = new ProductBusiness(inveonContext); }
public AuthBusiness(InveonContext _inveonContext, IJwtAuthenticationManager _jwtAuthenticationManager) { inveonContext = _inveonContext; jwtAuthenticationManager = _jwtAuthenticationManager; }
public EfRepository(InveonContext dbContext) { _dbContext = dbContext; }
public ProductBusiness(InveonContext _inveonContext) { inveonContext = _inveonContext; }
public AuthController(IJwtAuthenticationManager jwtAuthenticationManager, IHttpContextAccessor haccess, InveonContext _inveonContext) { hcontext = haccess.HttpContext; this.jwtAuthenticationManager = jwtAuthenticationManager; inveonContext = _inveonContext; }