public DataTable GetTree(string NamHoc) { using (var client = new UnimOsServiceClient()) { return(ConvertList.ToDataTable <sp_DM_Lop_GetTreeResult>(client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc))); //return client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc); } }
public DataTable GetTreeTheoKhoa(string NamHoc) { var client = new UnimOsServiceClient(); DataTable dt = ConvertList.ToDataTable <sp_DM_Lop_GetTreeResult>(client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc)); //DataTable dt = client.cDDM_Lop_GetTree(GlobalVar.MaXacThuc, NamHoc); client.Close(); return(CreateTree(dt)); }