public ActionResult <Point> CreatePoint([FromBody] Point point) { point.Id = pointService.Add(point); return(CreatedAtAction(nameof(GetPoints), new { id = point.Id }, point)); }