我试图使用@
Html.Action(“ActionName”,“controllerName”)从我的视图中调用一个Action.但我的页面无法加载以下错误:
A single instance of controller ‘Ki_PathwaysWeb.Areas.LearningManager.Controllers.ActionController’
cannot be used to handle multiple requests. If a custom controller
factory is in use,make sure that it creates a new instance of the
controller for each request.
我正在使用结构图进行依赖注入.请帮帮我,我错过了什么.
解决方法
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。