public static EntityBLL GetDetails(int EntityID)
 {
     EntityBLL e = new EntityBLL();
     DataTable dt = EntityDAL.GetDetails(EntityID).Tables[0];
     if (dt.Rows.Count > 0)
     { e = (EntityBLL)dt.Rows[0]; }
     return e;
 }
        public static EntityBLL GetDetails(int EntityID)
        {
            EntityBLL e  = new EntityBLL();
            DataTable dt = EntityDAL.GetDetails(EntityID).Tables[0];

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