Exemplo n.º 1
0
 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)
     });
 }