public BaseResponse <BaseResponseList <BaseTree> > GetBaseTreeRootsList() { BaseResponseList <BaseTree> result = new BaseResponseList <BaseTree>(); result.rows = BaseTree.GetBaseTreeRoots(); if (result.rows.Count > 0) { foreach (var row in result.rows) { row.GetBaseTreeChilderns(); } } result.total = result.rows.Count; return(BaseResponse.getResult(result)); }