vendredi 13 juillet 2018

how to Setting up dependency injection in class library and webAip with Ninject

i have two class library and webApi in my project

ClassLibraryA: for data access ClassLibraryB: for using ClassLibraryA to access data wepApi: is for get some string and use classLibraryB to insert in database

how i can use dependency injection in my project? i have many interface and class in classLibraryB that i use it in WebApi and classLibraryB use one interface of classLibraryA to access data

tanks everyBody for help me

Aucun commentaire:

Enregistrer un commentaire