public async Task <IActionResult> Update(int id, [FromBody] UpdateAdministratorCommand command)
        {
            await Mediator.Send(command);

            return(NoContent());
        }
Esempio n. 2
0
 public async Task <IActionResult> Edit(UpdateAdministratorCommand command) => Json(await Mediator.Send(command));