示例#1
0
 public IActionResult PostSurveyEntity([FromBody] SurveyData surveyData)
 {
     try
     {
         return(Ok(_logic.CreateSurvey(AdminId, surveyData)));
     }
     catch (Exception e)
     {
         return(BadRequest(e));
     }
 }