예제 #1
0
 public async Task <DataWithCount <ICollection <Trigger> > > GetPaginatedListAsync(TriggerFilter filter)
 {
     VerifyManagementPermission();
     filter.SiteId = GetCurrentSiteId();
     return(new DataWithCount <ICollection <Trigger> >
     {
         Data = await _triggerRepository.PageAsync(filter),
         Count = await _triggerRepository.CountAsync(filter)
     });
 }