Ejemplo n.º 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;
            }
        }
Ejemplo n.º 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;
     }
 }
Ejemplo n.º 3
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ProjectsActive = "active";
 }
Ejemplo n.º 4
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ReleasesActive = "active";
 }
Ejemplo n.º 5
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 6
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveProjects = "active";
 }
Ejemplo n.º 7
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 8
0
 public ProjectsController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 9
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 10
0
 public ArtistsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ArtistsActive = "active";
 }
Ejemplo n.º 11
0
 public PagesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.PagesActive = "active";
 }
Ejemplo n.º 12
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.NewsActive = "active";
 }
Ejemplo n.º 13
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 14
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.HomeActive = "active";
 }
Ejemplo n.º 15
0
 public ArtistsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ArtistsActive = "active";
 }
Ejemplo n.º 16
0
 public PagesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.PagesActive = "active";
 }
Ejemplo n.º 17
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 18
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 19
0
 public NewsController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.NewsActive = "active";
 }
Ejemplo n.º 20
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 21
0
 public ContentPageController(IEitanUow uow)
 {
     Uow = uow;
 }
Ejemplo n.º 22
0
 public HomeController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.HomeActive = "active";
 }
Ejemplo n.º 23
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveReleases = "active";
     StaticCode.StaticYears = Uow.ReleaseRepository.GetReleaseYears();
 }
Ejemplo n.º 24
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ActiveReleases = "active";
     StaticCode.StaticYears = Uow.ReleaseRepository.GetReleaseYears();
 }
Ejemplo n.º 25
0
 public ReleasesController(IEitanUow uow)
 {
     Uow = uow;
     ViewBag.ReleasesActive = "active";
 }