AddSingleton <ICostComputerService, CostComputerService>();. Am I missing something about using Singleton, Scoped for DI? Is it a good practice ...
確定! 回上一頁