public AnunciosDAO(Controller controller) { db = new ApplicationDbContext(); imageHelper = new ImageHelper(); categoriasDAO = new CategoriasDAO(controller); localidadesDAO = new LocalidadesDAO(controller); dateHelper = new DateHelper(); }
public NotificacionesDAO(Controller controller) { db = new ApplicationDbContext(); this.controller = controller; anunciosDAO = new AnunciosDAO(controller); imageHelper = new ImageHelper(); categoriasDAO = new CategoriasDAO(controller); }