Example #1
0
        public ActionResult Index()
        {
            int             maxVersion    = db.CZVersions.Max(x => x.VersionNumber);
            CZSystemVersion systemVersion = db.CZSystemVersions.Single();

            ViewBag.Message = "Chronozoom Content Authoring ";
            return(View());
        }
Example #2
0
        public BaseController() : base()
        {
            this.db = new ChronozoomEntities();

            int             maxVersion    = db.CZVersions.Max(x => x.VersionNumber);
            CZSystemVersion systemVersion = db.CZSystemVersions.Single();

            ViewBag.MaxVersion        = maxVersion + "";
            ViewBag.StagingVersion    = systemVersion.StagingVersion;
            ViewBag.ProductionVersion = systemVersion.ProdVersion;
        }