public AnunciosController() { anunciosDAO = new AnunciosDAO(this); tipoAnunciosDAO = new TipoAnunciosDAO(this); ViewBag.listaDuraciones = (new DropDownDAO()).getPeriodos(); ViewBag.nombresAnuncios = (new DropDownDAO()).getNombresAnuncios(); categoriasDAO = new CategoriasDAO(this); ViewBag.Categorias = (new DropDownDAO()).getCategoriasdd(null); ViewBag.Localidades = (new DropDownDAO()).getLocalidadesdd(null); notificacionDAO = new NotificacionesDAO(this); ViewBag.busq = "Buscar..."; }
public AdministradorController() { anunciosDAO = new AnunciosDAO(this); perfilValidator = new PerfilValidator(this); }
public AnunciosController() { perfilValidator = new PerfilValidator(this); anunciosDAO = new AnunciosDAO(this); }
public HomeController() { anunciosDAO = new AnunciosDAO(this); perfilValidator = new PerfilValidator(this); }