We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7919b41 commit 8c6f6f0Copy full SHA for 8c6f6f0
1 file changed
PlotSystem-API/Controllers/PlotController.cs
@@ -11,7 +11,7 @@ public class PlotController(IPlotRepository repository) : ControllerBase
11
// POST: api/plot
12
[HttpPost]
13
[ProducesResponseType(StatusCodes.Status201Created)]
14
- public ActionResult<int> CreatePlot(
+ public ActionResult<PlotDto> CreatePlot(
15
[FromForm] string cityProjectId,
16
[FromForm] string difficultyId,
17
[FromForm] string outlineBounds,
@@ -31,7 +31,7 @@ public ActionResult<int> CreatePlot(
31
outlineBounds,
32
createdBy,
33
initialSchematicBytes
34
- ).Id);
+ ));
35
}
36
37
// GET: api/plot/toPaste
0 commit comments