public List <IndexImageEntity> GetIndexImagesByCondition(string KeyName) { BaseSetDA da = new BaseSetDA(); var result = da.GetIndexImagesByCondition(KeyName); //if(result!=null && result.Count>0) //{ // foreach (var item in result) // { // item.ImageUrl = CommonHelper.LinkImageUrl(item.ImageUrl); // } //} return(result); }