Exemplo n.º 1
0
 public IActionResult PutSurveyEntity([FromRoute] int surveyId, [FromBody] SurveyData surveyData)
 {
     try
     {
         return(Ok(_logic.UpdateSurvey(AdminId, surveyId, surveyData)));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }