当遇到Unable to resolve service for type时,要考虑到接口方法是否已经注入: 例如: Unable to resolve service for type 'SaasTestDemo.Application.Queries.IChannelQuery' while attempting to activate 'SaasTestDemo.API.Controllers.ChannelController'. IChannelQuery
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有