public async Task <DataWithCount <ICollection <TriggerRequirement> > > PageRequirementAsync(BaseFilter filter) { filter.SiteId = GetCurrentSiteId(); return(new DataWithCount <ICollection <TriggerRequirement> >() { Data = await _triggerRepository.PageRequirementsAsync(filter), Count = await _triggerRepository.CountRequirementsAsync(filter) }); }