Example #1
0
        public IActionResult GetMoviesByActorName(string name)
        {
            //return Ok((from m in _MovieRepo.FindMoviesByActorName(name)
            //           select m).ToList());

            return(Ok(_movieRepo.FindMoviesByActorName(name).ToList()));
        }