public async Task <ActionResult <RespostaSaida> > ResponderPergunta(int idPaciente, int idPergunta, [FromBody] RespostaEntrada respostaEntrada)
        {
            try
            {
                var retorno = await Task <IEnumerable <IList <PacienteSaida> > > .Run(() => _RespostaNegocio.Insert(respostaEntrada));

                return(Ok(retorno));
            }
            catch (Exception)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError));
            }
        }
Example #2
0
 public Task <RespostaSaida> Insert(RespostaEntrada obj)
 {
     throw new System.NotImplementedException();
 }