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));
 }
Пример #3
0
 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)));
 }
Пример #5
0
 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));
 }
Пример #6
0
 public async Task <ActionResult <Unit> > Create(Create.Command dataCommand)
 {
     return(await Mediator.Send(dataCommand));
 }
Пример #7
0
 public async Task <ActivityDto> Create(Create.Command command)
 {
     return(await Mediator.Send(command));
 }
Пример #8
0
 public async Task <ActionResult <MessageDto> > Create(Create.Command command)
 {
     return(await Mediator.Send(command));
 }
Пример #9
0
 public Task <Unit> Create(Create.Command command)
 {
     return(_mediator.Send(command));
 }
Пример #10
0
 public async Task <ActionResult <StockManagemntDto> > Create(Create.Command command)
 {
     return(await Mediator.Send(command));
 }
Пример #11
0
 public async Task <ActionResult <Unit> > Create(Create.Command command)
 {
     //if(ModelState.IsValid)
     return(await Mediator.Send(command));
 }