예제 #1
0
 public UsuarioController(
     IUsuarioService usuarioService,
     IUsuarioFactory usuarioFactory,
     IListItemFactory listItemFactory)
 {
     this.UsuarioService  = usuarioService;
     this.UsuarioFactory  = usuarioFactory;
     this.ListItemFactory = listItemFactory;
 }
예제 #2
0
 public UsuarioRepository(PrincipalDbContext dbContext, IUsuarioFactory usuarioFactory, IResponseFactory responseFactory)
     : base(dbContext)
 {
     this.UsuarioFactory  = usuarioFactory;
     this.ResponseFactory = responseFactory;
 }