Beispiel #1
0
        public async Task <IActionResult> UpdateMarkersAsync(Guid floorId, [FromBody] List <MarkerDto> markers)
        {
            var success = await _markerManager.UpdateMarkersAsync(floorId, markers, User.FindFirstValue(ClaimTypes.Email));

            if (success)
            {
                return(Ok(true));
            }
            else
            {
                return(BadRequest());
            }
        }