public IActionResult Get() { var movies = repo.All(); return(Ok( new { status = "OK", message = $"Found {movies.Count()} result(s)", data = new { movies = movies } } )); }
public IActionResult Get() { var movies = repo.All(); return(Ok( new { status = "OK", message = $"Found {movies.Count()} result(s)", data = new { movies = movies } } )); }