예제 #1
0
            public async Task <Response> Handle(Request request, CancellationToken cancellationToken)
            {
                var paymentSchedule = new PaymentSchedule();

                _context.Store(paymentSchedule);

                await _context.SaveChangesAsync(cancellationToken);

                return(new Response()
                {
                    PaymentSchedule = paymentSchedule.ToDto()
                });
            }