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