コード例 #1
0
 public async Task <IActionResult> ObterAgendamentoPorId([FromQuery, SwaggerParameter("ID do agendamento.", Required = true)] int idAgendamento)
 {
     return(new ApiResult(await _agendamentoServico.ObterAgendamentoPorId(idAgendamento, base.ObterIdUsuarioClaim())));
 }
コード例 #2
0
 public async Task <ISaida> ObterContaPorId([SwaggerParameter("ID do agendamento.", Required = true)] int idAgendamento)
 {
     return(await _agendamentoServico.ObterAgendamentoPorId(
                idAgendamento,
                base.ObterIdUsuarioClaim()));
 }