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

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

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

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