예제 #1
0
 public static int GetPostsByTagCount(this IPostDao pDao, string tag)
 {
     return(pDao.GetCount(null, null, null, tag));
 }
예제 #2
0
 public static int GetAllPostsCount(this IPostDao pDao)
 {
     return(pDao.GetCount(null, null, null, null));
 }
예제 #3
0
 public static int GetUserPostsCount(this IPostDao pDao, Guid userId, string tag)
 {
     return(pDao.GetCount(null, null, userId, tag));
 }