Example #1
0
        // GET: LocaleResourceKeys/Edit
        public ActionResult Edit(int id)
        {
            var lrp    = new LocaleResourceKeyProcess();
            var locres = lrp.Find(id);

            return(View(locres));
        }
        // GET: LocaleStringResorces/Details
        public ActionResult Details(int id)
        {
            var lsp    = new LocaleStringResourceProcess();
            var locstr = lsp.Find(id);

            var lp           = new LanguageProcess();
            var descLanguage = lp.Find(locstr.Language_Id);

            ViewData["Language"] = descLanguage.Name;

            var lrp        = new LocaleResourceKeyProcess();
            var descLocRes = lrp.Find(locstr.LocaleResourceKey_Id);

            ViewData["LocRes"] = descLocRes.Name;

            return(View(locstr));
        }