public int DeleteById(int ID)
 {
     int nResult = 0;
        cNewsCategory objDAL = new cNewsCategory();
     try
     {
         objDAL.LoadByPrimaryKey(ID);
         objDAL.MarkAsDeleted();
         objDAL.Save();
         nResult = ID;
     }
     catch
     {
         nResult = 0;
     }
     return nResult;
 }