AddScoped <IBaz, Baz>();. then you might be able to simplify your DI configuration using assembly scanning to be more like this: services.
確定! 回上一頁