Esempio n. 1
0
 public static async Task <int> Count(ApplicationDbContext context, ForumTopicEntity entity)
 {
     if (entity.loadabusereports)
     {
         return(await AbuseTopics.Count(context, entity));
     }
     else
     {
         return(await _Count(context, entity));
     }
 }
Esempio n. 2
0
 public static async Task <List <JGN_ForumTopics> > LoadItems(ApplicationDbContext context, ForumTopicEntity entity)
 {
     if (entity.loadabusereports)
     {
         return(await AbuseTopics.LoadItems(context, entity));
     }
     else
     {
         return(await _LoadItems(context, entity));
     }
 }