/// <summary> /// Initializes a new instance of the <see cref="PunService"/> class. /// </summary> /// <param name="service"></param> public PunService(PunData.PunDataService service) { _service = service; }
public PunService() { _service = new PunDataService(@"C:\inetpub\temp\temp\wcf-puns.dat"); }
//[WebMethod] //public string HelloWorld() //{ // return "Hello World"; //} /// <summary> /// Initializes a new instance of the <see cref="PunService"/> class. /// </summary> public PunService() { _service = new PunData.PunDataService(); }