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); }
public TipoPersonaController(IConfiguration configuration) { this.configuration = configuration; this.repositorio = new RepositorioTipoPersona(configuration); }