using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;

namespace WcfService1
{
	public class Service1 : IService1
	{
		public List<item> ItemList()
		{
			return new List<item>
			{
				new item { Name = "A", Description = "AA", FromYear = 2000, ToYear = 2001 },
				new item { Name = "C", Description = "CC", FromYear = 2002, ToYear = 2005 },
				new item { Name = "D", Description = "DD", FromYear = 2003, ToYear = 2007 },
				new item { Name = "E", Description = "EE", FromYear = 2004, ToYear = 2009 },
			};
		}
	}

	public class item
	{
		public string Name { get; set; }
		
		public string Description { get; set; }

		public int FromYear { get; set; }

		public int ToYear { get; set; }

	}
}
