public async Task <IActionResult> RegistrationReminderSent(Guid apprenticeId, [FromBody] RegistrationReminderSentRequest request) { await _mediator.Send(new RegistrationReminderSentCommand( apprenticeId, request.SentOn)); return(Accepted()); }
public RegistrationReminderSentSteps(TestContext context) { _context = context; _registration = _fixture.Create <Registration>(); _request = _fixture.Create <RegistrationReminderSentRequest>(); }