public static RegionBLL GetDetails(int RegionID)
 {
     RegionBLL r = new RegionBLL();
     DataTable dt = RegionDAL.GetDetails(RegionID).Tables[0];
     if (dt.Rows.Count > 0) { r = (RegionBLL)dt.Rows[0]; }
     return r;
 }
Beispiel #2
0
        public static RegionBLL GetDetails(int RegionID)
        {
            RegionBLL r  = new RegionBLL();
            DataTable dt = RegionDAL.GetDetails(RegionID).Tables[0];

            if (dt.Rows.Count > 0)
            {
                r = (RegionBLL)dt.Rows[0];
            }
            return(r);
        }