Exemple #1
0
        public async Task <IActionResult> Put([FromBody] CreateDriver command)
        {
            await CommandDispather.DispathAsync(command);

            return(NoContent());
        }
Exemple #2
0
        public async Task <IActionResult> Put([FromBody] ChangeUserPassword command)
        {
            await CommandDispather.DispathAsync(command);

            return(NoContent());
        }
Exemple #3
0
        public async Task <IActionResult> Post([FromBody] CreateUser command)
        {
            await CommandDispather.DispathAsync(command);

            return(Created($"users/{command.Email}", new object()));
        }