Beispiel #1
0
        public async Task <IWrappedResponse> GetByNumberAction(Rules.Vouchers.GetByNumber.MainRule rule)
        {
            var voucher    = rule.Context.Voucher;
            var voucherDto = Mapper.Map <Voucher>(voucher);

            return(Ok(voucherDto));
        }
Beispiel #2
0
 public ContextModel(string parent, MainRule rule) : base(parent, rule)
 {
 }