I'm getting below error. I setup it similar to asp.net mvc 4.
No parameterless constructor defined for this object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.
Finally found the actual exception "Activation error occured while trying to get instance of type HomeController, key """
Error is occuring when i'm going to inject service class to the home contoller