public async Task <ActionResult> Create([FromForm] CreateEmployeeServiceCommand command) { await Mediator.Send(command); return(NoContent()); }
public CreateEmployeeServiceCommandValidatorTests() { this.createValidator = new CreateEmployeeServiceCommandValidator(); this.createCommand = new CreateEmployeeServiceCommand(); }