public string Get(int Id) { if (DicItemList == null || DicItemList.Count == 0) { return(""); } DicItem item = DicItemList.Where(x => x.Id == Id).FirstOrDefault(); if (item == null) { return(""); } return(GetbyLang(item)); }
public string Get(string xKey, params string[] param) { if (DicItemList == null || DicItemList.Count == 0) { return(xKey); } DicItem item = DicItemList.Where(x => x.Key == xKey).FirstOrDefault(); if (item == null) { return(xKey); } return(GetbyLang(item)); }