This commit is contained in:
Michele Scandura 2020-11-17 22:10:52 +00:00
parent 0a4b8ebeb2
commit e988f5c310
13 changed files with 135 additions and 72 deletions

View file

@ -38,7 +38,7 @@ namespace Sledgemapper.Api.Controllers
{
var userId = int.Parse(HttpContext.User.Identity.Name);
await _mediator.Send(new SaveNewSnapshotCommand(sessionName, session, userId));
}
}
[HttpPost("tile")]
public async Task Post(string sessionName, [FromBody] Tile tile)