// GET: LocaleResourceKeys/LocaleResourceKey public ActionResult Index() { var lrp = new LocaleResourceKeyProcess(); var lista = lrp.SelectList(); return(View(lista)); }
private static List <LocaleResourceKey> ObtenerKeys() { LocaleResourceKeyProcess locresPro = new LocaleResourceKeyProcess(); return(locresPro.SelectList()); //LocaleResourceKeyBusiness locresBus = new LocaleResourceKeyBusiness(); //return locresBus.All(); }
// GET: LocaleStringResorces/Create public ActionResult Create() { var lp = new LanguageProcess(); var listaLanguages = lp.SelectList(); ViewData["Language"] = listaLanguages; var lrp = new LocaleResourceKeyProcess(); var listaLocRes = lrp.SelectList(); ViewData["LocRes"] = listaLocRes; return(View()); }
// GET: LocaleStringResorces/Edit public ActionResult Edit(int id) { var lsp = new LocaleStringResourceProcess(); var locstr = lsp.Find(id); var lp = new LanguageProcess(); var listaLanguages = lp.SelectList(); ViewData["Language"] = listaLanguages; var lrp = new LocaleResourceKeyProcess(); var listaLocRes = lrp.SelectList(); ViewData["LocRes"] = listaLocRes; return(View(locstr)); }
// GET: LocaleStringResorces/LocaleStringResource public ActionResult Index() { var lsp = new LocaleStringResourceProcess(); var lista = lsp.SelectList(); var lp = new LanguageProcess(); var listaLanguages = lp.SelectList(); ViewData["Language"] = listaLanguages; var lrp = new LocaleResourceKeyProcess(); var listaLocRes = lrp.SelectList(); ViewData["LocRes"] = listaLocRes; return(View(lista)); }