Configured dependancy injection with AutoFac for both MVC and Webapi to inject repositories into controllers