public RulesBundle(ContextModel context, MainRule rule) { VouchersSearchQueryRule = new VouchersSearchQueryRule(context.VouchersSearchRequest, rule); VouchersValidRule = new VouchersValidRule(context, rule); }
private async Task <IWrappedResponse> SearchAction(Rules.Vouchers.Search.MainRule rule) { return(Ok(rule.Context.PaginationResult)); }