SimpleMovieFinder Class – .Net

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MovieFinderTestSpring.Net
{
    public class SimpleMovieFinder : IMovieFinder
    {
        #region IMovieFinder Members

        public List<Movie> FindAll()
        {
            List<Movie> movieList = new List<Movie>();
            movieList.Add(new Movie("Star Wars", "George Lucas"));
            movieList.Add(new Movie("American Graffiti", "George Lucas"));
            movieList.Add(new Movie("Aliens", "James Cameron"));
            movieList.Add(new Movie("Titanic", "James Cameron"));
            movieList.Add(new Movie("Avatar", "James Cameron"));
            movieList.Add(new Movie("The Abyss", "James Cameron"));
            movieList.Add(new Movie("The Terminator", "James Cameron"));
            return movieList;
        }

        #endregion
    }
}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s