Exemplo n.º 1
0
        public IActionResult GetPoints()
        {
            var points = pointService.GetAll().ToList();

            if (!points.Any())
            {
                return(NoContent());
            }

            return(Ok(points));
        }