Ejemplo n.º 1
0
 public List<DropDownFormat> GetApparelNameByBrand(string brand)
 {
     AdminDal obj = new AdminDal();
     List<string> result = new List<string>();
     List<DropDownFormat> res = new List<DropDownFormat>();
     result = obj.GetApparelNameByBrand(brand.Trim());
     foreach (var item in result)
     {
         res.Add(new DropDownFormat(){ name=item, value=item });
     }
     return res;
 }