Unit test a method with ClaimsPrincipal with moq and xunit

前端 未结 0 421
慢半拍i
慢半拍i 2021-01-12 08:33

My Controller class looks like this:

public class MyController : ApiControllerBase
{
        public IMyService _service { get; }

        public MyController(         


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