public ProductGalleryController() { vm = new ProductGalleryVM(); _repoPosition = new PositionGalleryDAO(); _repoSectionGallery = new SectionGalleryDAO(); _repoSectionContent = new SectionContentDAO(); }
//VideosDAO repository = new VideosDAO(); //PositionGalleryDAO posGallery = new PositionGalleryDAO(); //SectionContentDAO secContentDAO = new SectionContentDAO(); public VideoController() { _vm = new VideoVM(); _repository = new VideosDAO(); _repositoryPos = new PositionGalleryDAO(); }