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