public int GetTypeCount(VolunteerActivityTypeModel typeModel)
        {
            var predicate = WhereExtension.True <VolunteerActivity>();//初始化where表达式

            if (!String.IsNullOrEmpty(typeModel.TypeIDs))
            {
                predicate = predicate.And(p => p.TypeIDs.Contains(typeModel.TypeIDs));
            }
            var result = DbSet.Where(predicate).ToList();

            return(result.Count);
        }
        public int GetTypeCount(VolunteerActivityTypeModel typeModel)
        {
            var SearchResult = _VolunteerActivityService.GetTypeCounts(typeModel);

            return(SearchResult);
        }