public async Task <IActionResult> SavePages([FromRoute] string id, [FromBody] IEnumerable <PageDto> pages) { await _ideaService.SavePagesAsync(id, pages); return(Json(new { message = "Pages saved successfully" })); }
public async Task <IActionResult> SavePages([FromRoute] string id, [FromBody] IEnumerable <PageDto> pages) { await _ideaService.SavePagesAsync(id, pages); return(Json(new { message = "Pages saved successfully" })); }