I use Autofac to register both HttpContextAccessor and DbContext. builder .RegisterType () .As () .SingleInstance(); bu.
確定! 回上一頁