ASP.NET Core - How to handle exception inside a scoped service

后端 未结 0 648
余生分开走
余生分开走 2021-01-01 03:10

I have some repository classes added as scoped service and I retrieve a particular repository using:

var rep = HttpContext.RequestServices.GetService(typeof(i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题