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