コード例 #1
0
        public ActionResult WhyUs()
        {
            string lang        = FillLanguagesList();
            var    vision_info = InstituionalManager.GetInstationalByLanguage(lang, Convert.ToInt32(EnumInstituionalTypes.NedenBiz));

            return(View(vision_info));
        }
コード例 #2
0
ファイル: OurTeamController.cs プロジェクト: cemelma/astonweb
        public ActionResult UzmanlikAlanlarimiz()
        {
            string lang        = FillLanguagesList();
            var    vision_info = InstituionalManager.GetInstationalByLanguage(lang, Convert.ToInt32(EnumInstituionalTypes.UzmanlikAlanlarimiz));

            return(View(vision_info));
        }
コード例 #3
0
        public ActionResult Index()
        {
            MainContext db   = new MainContext();
            Tags        stag = db.Tags.Where(x => x.PageId == 4 && x.Lang == lang).FirstOrDefault();

            if (stag != null)
            {
                ViewBag.Title       = stag.Title;
                ViewBag.Description = stag.Description;
                ViewBag.Keywords    = stag.Keyword;
            }

            var list = OurTeamManager.GetOurTeamListForFront(lang);
            var dan  = InstituionalManager.GetInstationalByLanguage(lang, (int)EnumInstituionalTypes.Danismanlarimiz);
            var uzm  = InstituionalManager.GetInstationalByLanguage(lang, (int)EnumInstituionalTypes.UzmanlikAlanlarimiz);
            OurTeamWrapperModel m = new OurTeamWrapperModel(list, dan, uzm);

            return(View(m));
        }
コード例 #4
0
        public ActionResult Index()
        {
            Institutional model = InstituionalManager.GetInstationalByLanguage(lang, 0);

            return(View(model));
        }