コード例 #1
0
        //public DataTable Get(DM_ChuyenNganhInfo pDM_ChuyenNganhInfo)
        //{
        //    using (var client = new UnimOsServiceClient())
        //    {
        //        return ConvertList.ToDataTable<DM_ChuyenNganhInfo>(client.cDDM_ChuyenNganh_Get(GlobalVar.MaXacThuc, pDM_ChuyenNganhInfo));
        //    }
        //}

        public DataTable GetByIDNganh(int IDDM_Nganh)
        {
            using (var client = new UnimOsServiceClient())
            {
                return(ConvertList.ToDataTable <sp_DM_ChuyenNganh_GetByIDNganhResult>(client.cDDM_ChuyenNganh_GetByIDNganh(GlobalVar.MaXacThuc, IDDM_Nganh)));
            }
        }