public async Task <ActionResult <ResponseWrapper <Create> > > Create(Create.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Create(Create.Command command) { return(await _mediator.Send(command)); }
public async Task <ActionResult <Unit> > Create([FromBody] Create.Command command) { return(await Mediator.Send(command)); }
public async Task <IActionResult> Create(Create.Command command) { return(Ok(await Mediator.Send(command))); }
public async Task <ActionResult <Unit> > Create(Create.Command command) // This is implemented by [ApiController] of Create([fromBody]Create.Command command), this takes values from body and initializes the command properties inside Create.cs { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Create(Create.Command dataCommand) { return(await Mediator.Send(dataCommand)); }
public async Task <ActivityDto> Create(Create.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <MessageDto> > Create(Create.Command command) { return(await Mediator.Send(command)); }
public Task <Unit> Create(Create.Command command) { return(_mediator.Send(command)); }
public async Task <ActionResult <StockManagemntDto> > Create(Create.Command command) { return(await Mediator.Send(command)); }
public async Task <ActionResult <Unit> > Create(Create.Command command) { //if(ModelState.IsValid) return(await Mediator.Send(command)); }