Exemplo n.º 1
0
 public ODataEFController(ApplicationDbContext context, IMessageBroadcast message, IHttpContextAccessor httpContextAccessor, SecurityBaseStrategy securityBaseStrategy)
 {
     this.context = context;
     this.message = message;
     this.userId  = httpContextAccessor.HttpContext.User.FindFirst(ClaimTypes.NameIdentifier).Value;
     this.securityBaseStrategy = securityBaseStrategy;
 }
 public TodosController(ApplicationDbContext context, IMessageBroadcast message, IHttpContextAccessor httpContextAccessor) : base(context, message, httpContextAccessor, SecurityBaseStrategy.deny)
 {
 }