public InmuebleController(IConfiguration configuration, IWebHostEnvironment environment) { this.configuration = configuration; this.environment = environment; this.repositorio = new RepositorioInmueble(configuration); this.repositorioPropietario = new RepositorioPropietario(configuration); this.repositorioAgencia = new RepositorioAgencia(configuration); this.repositorioUsoInmueble = new RepositorioUsoInmueble(configuration); this.repositorioTipoInmueble = new RepositorioTipoInmueble(configuration); this.utils = new Utils(configuration, environment); }
public TipoInmuebleController(IConfiguration configuration) { this.configuration = configuration; this.repositorio = new RepositorioTipoInmueble(configuration); }