Esempio n. 1
0
 public async Task <ActionResult> Create([FromBody] CreateMarcaRequest command)
 {
     return(await base.Command <CreateMarcaRequest, ICollection <MarcaDto> >(command));
 }
Esempio n. 2
0
 public RequestResult CreateUser([FromBody] CreateMarcaRequest request, [FromServices] CreateMarcaRequestHandler handler)
 {
     return((RequestResult)handler.Handle(request));
 }