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; } }
public ProjectsController(IEitanUow uow) { Uow = uow; ViewBag.ProjectsActive = "active"; }
public ReleasesController(IEitanUow uow) { Uow = uow; ViewBag.ReleasesActive = "active"; }
public ProjectsController(IEitanUow uow) { Uow = uow; }
public ProjectsController(IEitanUow uow) { Uow = uow; ViewBag.ActiveProjects = "active"; }
public NewsController(IEitanUow uow) { Uow = uow; }
public HomeController(IEitanUow uow) { Uow = uow; }
public ArtistsController(IEitanUow uow) { Uow = uow; ViewBag.ArtistsActive = "active"; }
public PagesController(IEitanUow uow) { Uow = uow; ViewBag.PagesActive = "active"; }
public NewsController(IEitanUow uow) { Uow = uow; ViewBag.NewsActive = "active"; }
public HomeController(IEitanUow uow) { Uow = uow; ViewBag.HomeActive = "active"; }
public ReleasesController(IEitanUow uow) { Uow = uow; }
public ContentPageController(IEitanUow uow) { Uow = uow; }
public ReleasesController(IEitanUow uow) { Uow = uow; ViewBag.ActiveReleases = "active"; StaticCode.StaticYears = Uow.ReleaseRepository.GetReleaseYears(); }