Hi All
Autofac - Make sure that the controller has a parameterless public constructor this is error.
Open you ServiceModule File
Register the Interface and service name those are mentioned in controller.
Example are as below:-
builder.RegisterType<MenuService>().As<IMenuService>();
No comments:
Post a Comment