public async Task <ActionResult <Photo> > Add([FromForm] PhotoAdd.Command command) { return(await Mediator.Send(command)); }
public async Task <IActionResult> AddPhoto([FromForm] PhotoAdd.Command command) { return(HandleResult(await Mediator.Send(command))); }