Removed possibly invalid endpoints, will be refactored to use auth and user context when needed again

This commit is contained in:
Veljko Tosic
2026-02-12 19:53:58 +01:00
parent a9b4a0ce87
commit 86f66727f3
3 changed files with 17 additions and 71 deletions

View File

@@ -16,25 +16,4 @@ public class ShapeController : ControllerBase
{
_dispatcher = dispatcher;
}
[HttpPost("arrow")]
public async Task<IActionResult> CreateArrow(CreateArrowCommand command, CancellationToken cancellationToken)
{
var result = await _dispatcher.Execute(command, cancellationToken);
return Ok(result);
}
[HttpPost("textShape")]
public async Task<IActionResult> CreateTextShape(CreateTextShapeCommand command, CancellationToken cancellationToken)
{
var result = await _dispatcher.Execute(command, cancellationToken);
return Ok(result);
}
[HttpPost("line")]
public async Task<IActionResult> CreateLine(CreateLineCommand command, CancellationToken cancellationToken)
{
var result = await _dispatcher.Execute(command, cancellationToken);
return Ok(result);
}
}