backend note implementation.
This commit is contained in:
parent
651aeb407b
commit
fe3c0ed2cf
11 changed files with 185 additions and 75 deletions
|
@ -54,6 +54,12 @@ namespace Sledgemapper.Api.Controllers
|
|||
await _mediator.Send(new NewWallCommand(sessionName, wall, UserId));
|
||||
}
|
||||
|
||||
[HttpPost("note")]
|
||||
public async Task Post(string sessionName, [FromBody] Note note)
|
||||
{
|
||||
await _mediator.Send(new NewNoteCommand(sessionName, note, UserId));
|
||||
}
|
||||
|
||||
[HttpDelete("tile")]
|
||||
public async Task Delete(string sessionName, [FromBody] Tile tile)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue