public string GetAccountListInCSV(string InputValue, ref string PageInfo) { COutputValue pInfo = new COutputValue(); IList <CAccountList> list = new CAccountListDao().GetAccountList(InputValue, ref pInfo); PageInfo = pInfo.ToCSV(); return(CAccountList.ToCSV <CAccountList>(list)); }
public string GetInventoryUnitListInCSV(string InputValue, ref string PageInfo) { /// COutputValue pInfo = new COutputValue(); IList <CUnit> list = new CUnitDao().GetInventoryUnitList(InputValue, ref pInfo); PageInfo = pInfo.ToCSV(); return(CUnit.ToCSV <CUnit>(list)); }