public async Task <IActionResult> Get([FromRoute][Required] ConsultarAnuncioRequest request) { var consultarAnuncioInput = new ConsultarAnuncioInput(request.IdAnuncio); await _consultarAnuncioUseCase.Execute(consultarAnuncioInput); return(_consultarAnuncioPresenter.ViewModel); }
public object GetExamples() { var request = new ConsultarAnuncioRequest { IdAnuncio = 1 }; return(request); }