Esempio n. 1
0
 public NewsCategory()
 {
     Data = new eNewsCategory();
 }
 private eNewsCategory ContinentsEntity()
 {
     eNewsCategory entityContinents = new eNewsCategory();
     int nItemID = ConvertData.ConvertToInt(Request.QueryString[Constants.ACTION_ID]);
     string sQueery = ConvertData.ConvertToString(Request.QueryString[Constants.ACTION]);
     if (nItemID > 0 && sQueery == Constants.ACTION_EDIT)
     {
         NewsCategory objContinents = new NewsCategory();
         objContinents.LoadById(nItemID);
         entityContinents = objContinents.Data;
     }
     return entityContinents;
 }