Changing POST to PUT
This commit is contained in:
parent
5ad4478670
commit
f967e38c81
@ -113,7 +113,7 @@ namespace DamageAssesment.Api.Questions.Controllers
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// POST request for creating a multiple question (multilingual).
|
/// POST request for creating a multiple question (multilingual).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[HttpPost("questions/multiple/{surveyid}")]
|
[HttpPut("questions/multiple/{surveyid}")]
|
||||||
public async Task<IActionResult> UpdateQuestions(int surveyid, List<Models.Question> questions)
|
public async Task<IActionResult> UpdateQuestions(int surveyid, List<Models.Question> questions)
|
||||||
{
|
{
|
||||||
if (questions != null)
|
if (questions != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user