Ejemplo n.º 1
0
 public ProductController(IHttpContextAccessor haccess, InveonContext _inveonContext)
 {
     inveonContext   = _inveonContext;
     hcontext        = haccess.HttpContext;
     user            = ClaimIdentityBusiness.GetUser(hcontext.User);
     productBusiness = new ProductBusiness(inveonContext);
 }
Ejemplo n.º 2
0
 public AuthBusiness(InveonContext _inveonContext, IJwtAuthenticationManager _jwtAuthenticationManager)
 {
     inveonContext            = _inveonContext;
     jwtAuthenticationManager = _jwtAuthenticationManager;
 }
Ejemplo n.º 3
0
 public EfRepository(InveonContext dbContext)
 {
     _dbContext = dbContext;
 }
Ejemplo n.º 4
0
 public ProductBusiness(InveonContext _inveonContext)
 {
     inveonContext = _inveonContext;
 }
Ejemplo n.º 5
0
 public AuthController(IJwtAuthenticationManager jwtAuthenticationManager, IHttpContextAccessor haccess, InveonContext _inveonContext)
 {
     hcontext = haccess.HttpContext;
     this.jwtAuthenticationManager = jwtAuthenticationManager;
     inveonContext = _inveonContext;
 }