Exemplo n.º 1
0
        public virtual int GetCount(Guid activityId)
        {
            var count = _commentsRepository.Count(comment => comment.ActivityId == activityId);

            return((int)count);
        }
 public virtual int GetMembersCount(Guid groupId)
 {
     return((int)_groupMemberRepository.Count(gm => gm.GroupId == groupId));
 }
Exemplo n.º 3
0
 public virtual int GetCount(Guid entityId)
 {
     return((int)_likesRepository.Count(l => l.EntityId == entityId));
 }
Exemplo n.º 4
0
 public long Count(Expression <Func <IntranetActivityEntity, bool> > expression)
 {
     return(_sqlRepository.Count(expression));
 }