public List <ActivityEntity> GetActivities2(string userid, DateTime from, DateTime to, string category, string deptid, bool isall, int pageSize, int pageIndex, out int total, string notcategory = null) { return(service.GetActivities2(userid, from, to, category, deptid, isall, pageSize, pageIndex, out total, notcategory)); }