public async Task <IActionResult> Contacts([FromForm] CreateContactFormCommand command) { await Mediator.Send(command); return(this.Redirect("/")); }
public CreateContactFormCommandValidatorTests() { this.createValidator = new CreateContactFormCommandValidator(); this.createCommand = new CreateContactFormCommand(); }