public async Task <ActionResult <StockManagemntDto> > Edit(Guid id, Edit.Command command) { command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { command.Id = id; return(await mediator.Send(command)); // command here contains all the attributes }
public async Task <ActionResult <Unit> > Edit([FromBody] Edit.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Update(Guid id, Edit.Command command) { command.Id = id; return(Ok(await _mediator.Send(command))); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { command.Id = id;//Because I don't have a requirement for the id to be in the body. return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid Id, [FromBody] Edit.Command command) { command.Id = Id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command, CancellationToken ct) { command.Id = id; return(await Mediator.Send(command, ct)); }
public async Task <ActivityDto> Edit(int id, Edit.Command command) { command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Update(Edit.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Update(Guid id, Edit.Command cmd) { cmd.id = id; return(await _mediator.Send(cmd)); }
public Task <Unit> Edit(Guid id, Edit.Command command) { command.Id = id; return(_mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { command.Id = id; //will be passed across inside command object thats being sent by mediator return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { command.Id = id; command.Date = command.Date.Value.AddHours(-4); return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(int id, Edit.Command command) { command.ProjectId = id; return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Edit.Command command) => await Mediator.Send(command);
public async Task <ActionResult <Unit> > Edit(string name, Edit.Command command) { command.Name = name; return(await _mediator.Send(command)); }
public async Task <ActionResult <OrderTransactionsDto> > Edit(Guid id, Edit.Command command) { command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <ResponseWrapper <Edit> > > Edit(string id, Edit.Command command) { command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, [FromForm] Edit.Command command1) { command1.Id = id; return(await Mediator.Send(command1)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) // command is the request json we send in body { command.Id = id; return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > EditCurrentProfile(Edit.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit([FromBody] Edit.Command command) { var response = await Mediator.Send(command); return(response); }
public async Task <IActionResult> Edit(Edit.Command command) { return(HandleResult(await Mediator.Send(command))); }
public async Task <ActionResult <Unit> > EditAsync(Guid id, Edit.Command command) { return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { //id from the request will be send to the DB through the mediator with the command command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Edit.Command cmd) { return(await Mediator.Send(cmd)); }
public async Task <ActionResult <CalendarEvent> > Edit(Edit.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <FSObject> > Edit(Edit.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(Guid id, Edit.Command command) { command.Id = id; return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Edit(string username, Edit.Command command) { command.username = username; return(await Mediator.Send(command)); }