public async Task <ActionResult <Unit> > Edit(string username, UpdateIngredient.UpdateIngredientCommand command) { command.Username = username; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(UpdateIngredient.UpdateIngredientCommand command) { return(await Mediator.Send(command)); }