using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.ServiceModel; using System.Text; // NOTE: If you change the class name "Service" here, you must also update the reference to "Service" in Web.config. public class Service : IService { public void DoWork() { } #region IService Members public List kysiKoerad() { DataClassesDataContext db = new DataClassesDataContext(); var v = from k in db.koerads select k; return v.ToList(); //throw new NotImplementedException(); } #endregion }