Posts by Rafael Damasio • 21 points
3 posts
-
0
votes3
answers198
viewsA: Controller with Repository, Ioc and DI
namespace LetsParty.Infra.Data.Context { public class Letspartycontext : Dbcontext, Iletspartycontext { public Letspartycontext() base("Tccbanco") { } public LetsPartyContext(string…
-
0
votes3
answers198
viewsA: Controller with Repository, Ioc and DI
Felipe, in this case I am having doubts about the correct way to inject a depended in my controller so that I can use the insertion methods of my user repository and use the savechanges of my…
-
2
votes3
answers198
viewsQ: Controller with Repository, Ioc and DI
I’m trying to implement the recording of my views, Usuario repository in my controller, even using dependency injection examples, because in my user’s repository constructor it expects to receive an…