vendredi 13 juillet 2018

How to design the Unity Container?

I have three projects: WebAPI, Services and Repository.

WebAPI has a reference to Services and Services has reference to Repository.

Now I need to add a Unity Container for Services and Repositories but in WebAPI it's doesn't allow to add a reference to Repository, WebAPI has reference just for Services.

How can I change this in order to obtain the desired design ?

Aucun commentaire:

Enregistrer un commentaire