示例#1
0
        public async Task <IActionResult> RegistrationReminderSent(Guid apprenticeId, [FromBody] RegistrationReminderSentRequest request)
        {
            await _mediator.Send(new RegistrationReminderSentCommand( apprenticeId, request.SentOn));

            return(Accepted());
        }
示例#2
0
 public RegistrationReminderSentSteps(TestContext context)
 {
     _context      = context;
     _registration = _fixture.Create <Registration>();
     _request      = _fixture.Create <RegistrationReminderSentRequest>();
 }