public IActionResult GetPoints() { var points = pointService.GetAll().ToList(); if (!points.Any()) { return(NoContent()); } return(Ok(points)); }