Can't getting the reference of IProductModelFactory by plugin in nopcommerce 4.2

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
I am calling product controller from plugin and in that I am adding multiple class fields like ILocalizationService, IProductModelFactory, etc. to call their method. Now for multiple reference I am getting their namespace by clicking ctrl+. and add them but one of the reference I can't getting the namespace of IProductModelFactory in plugin.  It shows error like

It showing that The type or namespace name 'IProductModelFactory' could not be found
.
Suprised why this happening.

Please note that I am using nopcommerce 4.2.
4 years ago
Try
using IProductModelFactory = Nop.Web.Factories.IProductModelFactory;
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.