public int GetByFilterCount(TaskFilter filter)
 {
     return(messageDao.GetByFilterCount(filter, ProjectSecurity.CurrentUserAdministrator, ProjectSecurity.IsPrivateDisabled));
 }
Beispiel #2
0
        public int GetByFilterCount(TaskFilter filter)
        {
            var isAdmin = ProjectSecurity.IsAdministrator(SecurityContext.CurrentAccount.ID);

            return(messageDao.GetByFilterCount(filter, isAdmin));
        }