阅读背景:

最佳实践:如何将多个依赖项存储库放到ActionController中?

来源:互联网 

I have a InventoryController that gets a IInventoryRepository inyected, however my needs have changed, and now one of the controllers methods also needs to use another 2 repositories, ILoansRepository (to see the get info about loaned inventory items) and another one, where some stats and extra info are found.I have a InventoryController that gets a IInven




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: