Ejemplo n.º 1
0
 public BDController(NotConsultantv2Context context, IHttpContextAccessor httpContextAccessor)
 {
     this.dbContext           = context;
     SecurityHelper.dbContext = context;
     SecurityHelper.User      = httpContextAccessor.HttpContext.User;
     dbContext.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.TrackAll;
 }
Ejemplo n.º 2
0
 public AccountController(NotConsultantv2Context context)
 {
     this.dbContext = context;
 }