public IEnumerable <DataSelect> GetAllCategorySelectToViewModel(MODEL.DataTableModel.DataSelectRequest selectData) { IEnumerable <VIEW_MST_CATEGORY> list = VIEW_MST_CATEGORY.ToListViewModel(GetAllCategorySelect(selectData)); return(DataSelect.ToListModel(list)); }
/// <summary> /// 获取树形的Select的json数据 /// </summary> /// <param name="selectData"></param> /// <returns></returns> public IEnumerable <DataSelect> GetAllCatalogSelectToViewModel(DataSelectRequest selectData) { IEnumerable <VIEW_MST_CATALOG> list = VIEW_MST_CATALOG.ToListViewModel(GetAllCatalogSelect(selectData)); return(DataSelect.ToListModel(list)); }