public async Task <Guid> AddPointsList([FromBody] List <Point> points) { List <Models.Point> modelPoints = points.Select(Map).ToList(); Guid listId = await _pointsService.AddNewList(modelPoints).ConfigureAwait(false); _squaresService.CalculateSquares(modelPoints, listId).ConfigureAwait(false); return(listId); }