public async Task <IActionResult> Put([FromBody] CreateDriver command) { await CommandDispather.DispathAsync(command); return(NoContent()); }
public async Task <IActionResult> Put([FromBody] ChangeUserPassword command) { await CommandDispather.DispathAsync(command); return(NoContent()); }
public async Task <IActionResult> Post([FromBody] CreateUser command) { await CommandDispather.DispathAsync(command); return(Created($"users/{command.Email}", new object())); }