Exemplo n.º 1
0
 private eFAQCategory FAQCategoryEntity()
 {
     eFAQCategory entityFAQCategory = new eFAQCategory();
     int nItemID = ConvertData.ConvertToInt(Request.QueryString[Constants.ACTION_ID]);
     string sQueery = ConvertData.ConvertToString(Request.QueryString[Constants.ACTION]);
     if (nItemID > 0 && sQueery == Constants.ACTION_EDIT)
     {
         FAQCategory obj = new FAQCategory();
         obj.LoadById(nItemID);
         entityFAQCategory = obj.Data;
     }
     return entityFAQCategory;
 }
Exemplo n.º 2
0
 public FAQCategory()
 {
     Data = new eFAQCategory();
 }