Changing POST to PUT

This commit is contained in:
Reginald Cherenfant Jasmin 2023-12-07 02:48:07 -05:00
parent 5ad4478670
commit f967e38c81

View File

@ -113,7 +113,7 @@ namespace DamageAssesment.Api.Questions.Controllers
/// <summary>
/// POST request for creating a multiple question (multilingual).
/// </summary>
[HttpPost("questions/multiple/{surveyid}")]
[HttpPut("questions/multiple/{surveyid}")]
public async Task<IActionResult> UpdateQuestions(int surveyid, List<Models.Question> questions)
{
if (questions != null)