private eTestimonial TestimonialEntity()
 {
     eTestimonial entityNews = new eTestimonial();
     int nItemID = ConvertData.ConvertToInt(Request.QueryString[Constants.ACTION_ID]);
     string sQueery = ConvertData.ConvertToString(Request.QueryString[Constants.ACTION]);
     if (nItemID > 0 && sQueery == Constants.ACTION_EDIT)
     {
         Testimonial objTestimonial = new Testimonial();
         objTestimonial.LoadById(nItemID);
         entityNews = objTestimonial.Data;
     }
     return entityNews;
 }
Example #2
0
 public Testimonial()
 {
     Data = new eTestimonial();
 }