public PersonaController(IConfiguration configuration, IWebHostEnvironment environment)
 {
     this.configuration          = configuration;
     this.environment            = environment;
     this.repositorio            = new RepositorioPersona(configuration);
     this.repositorioTipoPersona = new RepositorioTipoPersona(configuration);
     this.utils = new Utils(configuration, environment);
 }
Пример #2
0
 public TipoPersonaController(IConfiguration configuration)
 {
     this.configuration = configuration;
     this.repositorio   = new RepositorioTipoPersona(configuration);
 }