Esempio n. 1
0
 public CategoryRating CR()
 {
     if (this.CRID < 0)
     {
         return(null);
     }
     return(CategoryRatingManager.GetByID(this.CRID));
 }
Esempio n. 2
0
 private bool?CheckIfCRIsActive(long crid)
 {
     if (crid > 0)
     {
         CategoryRating categoryRating = CategoryRatingManager.GetByID(Convert.ToInt64(crid));
         return(categoryRating.IsActive);
     }
     else
     {
         return(false);
     }
 }