public async Task <ActionResult <Unit> > Create(string username, CreateIngredient.CreateIngredientCommand command) { command.Username = username; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Create(CreateIngredient.CreateIngredientCommand command) { return(await Mediator.Send(command)); }