public async Task <IActionResult> GetCoordinateList(int coordinateListId) { Squares.Models.Coordinates.CoordinateList createdCoordinateList = await _coordinateService.GetCoordinateList(coordinateListId).ConfigureAwait(false); CoordinateList apiCoordinateList = Mapper.Map(createdCoordinateList); return(Ok(apiCoordinateList)); }