Managing AutoFac object creation for UnitOfWork
<p>I am new to architecture, I am in the process of learning and designing an application end to end. I have the below architecture and am using Autofac to manage object creation.</p>

<p><a href="https://i.stack.imgur.com/D5fUH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D5fUH.png" alt="enter image description here"></a></p>

<p>All businessobject contracts have been setup on webapi startup and that is the only startup which can actually startup all my autofac configurations/modules. </p>

<p>I use UnitOfWork/Repository pattern and it resides beyond my business layer, I do not want to refer the UnitOfWork in my WebAPi but i cannot startup UnitOfWork otherwise.</p>

<p>Can someone please give me some inputs on what should be my architecture/design/autofac unitofwork implementation?</p>