public static Object DealerList() { BL_Dealers user = new CRMTree.BLL.BL_Dealers(); MD_DealersList myCarModel = user.DealerList(); return(myCarModel); }
public MD_DealersList DealerList() { string sql = "select AD_Code,AD_Name_EN from CT_Auto_Dealers"; MD_DealersList List = new MD_DealersList(); List.User_Dealers_List = DataHelper.ConvertToList <CT_Auto_Dealers>(sql); return(List); }