public async Task AddPoint(Guid listId, Point point) { await _pointsService.AddPoint(listId, Map(point)).ConfigureAwait(false); }
public async Task <IActionResult> AddPoint([FromBody] CreatePointRequest createPointRequest) { var point = await _pointsService.AddPoint(createPointRequest); return(Ok(PointDto.Map(point))); }