Example #1
0
        public HomeController(IEitanUow uow)
        {
            Uow = uow;
            ViewBag.HomeActive    = "active";
            ViewBag.ProjectsCount = Uow.ProjectRepository.GetAll().Count();
            var ProjEntity = Uow.ProjectRepository.GetAllDesc().FirstOrDefault();

            if (ProjEntity != null)
            {
                ViewBag.ProjectID    = ProjEntity.ID;
                ViewBag.ProjectTitle = ProjEntity.Title;
            }
            ViewBag.NewsCount = Uow.NewsRepository.GetAll().Count();
            var NewsEntity = Uow.NewsRepository.GetAllDesc().FirstOrDefault();

            if (NewsEntity != null)
            {
                ViewBag.NewsID    = NewsEntity.ID;
                ViewBag.NewsTitle = NewsEntity.Title;
            }
            ViewBag.ReleasesCount = Uow.ReleaseRepository.GetAll().Count();
            var RelEntity = Uow.ReleaseRepository.GetAllDesc().FirstOrDefault();

            if (RelEntity != null)
            {
                ViewBag.ReleaseID    = RelEntity.ID;
                ViewBag.ReleaseTitle = RelEntity.Title;
            }
        }
Example #2
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.HomeActive = "active";
     ViewBag.ProjectsCount = Uow.ProjectRepository.GetAll().Count();
     var ProjEntity = Uow.ProjectRepository.GetAllDesc().FirstOrDefault();
     if (ProjEntity != null)
     {
         ViewBag.ProjectID = ProjEntity.ID;
         ViewBag.ProjectTitle = ProjEntity.Title;
     }
     ViewBag.NewsCount = Uow.NewsRepository.GetAll().Count();
     var NewsEntity = Uow.NewsRepository.GetAllDesc().FirstOrDefault();
     if (NewsEntity != null)
     {
         ViewBag.NewsID = NewsEntity.ID;
         ViewBag.NewsTitle = NewsEntity.Title;
     }
     ViewBag.ReleasesCount = Uow.ReleaseRepository.GetAll().Count();
     var RelEntity = Uow.ReleaseRepository.GetAllDesc().FirstOrDefault();
     if (RelEntity != null)
     {
         ViewBag.ReleaseID = RelEntity.ID;
         ViewBag.ReleaseTitle = RelEntity.Title;
     }
 }
Example #3
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ProjectsActive = "active";
 }
Example #4
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ReleasesActive = "active";
 }
Example #5
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
 }
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveProjects = "active";
 }
Example #7
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
 }
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #9
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #10
0
 public ArtistsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ArtistsActive = "active";
 }
Example #11
0
 public PagesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.PagesActive = "active";
 }
Example #12
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.NewsActive = "active";
 }
Example #13
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #14
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.HomeActive = "active";
 }
Example #15
0
 public ArtistsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ArtistsActive = "active";
 }
Example #16
0
 public PagesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.PagesActive = "active";
 }
Example #17
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #18
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #19
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.NewsActive = "active";
 }
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
 }
 public ContentPageController(IEitanUow uow)
 {
     Uow = uow;
 }
Example #22
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.HomeActive = "active";
 }
Example #23
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveReleases = "active";
     StaticCode.StaticYears = Uow.ReleaseRepository.GetReleaseYears();
 }
Example #24
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveReleases = "active";
     StaticCode.StaticYears = Uow.ReleaseRepository.GetReleaseYears();
 }
Example #25
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ReleasesActive = "active";
 }