-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTestWcf.svc.cs
35 lines (24 loc) · 1.01 KB
/
TestWcf.svc.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;
using System.ServiceModel.Web;
using System.Text;
using testWcf;
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the class name "Service1" in code, svc and config file together.
// NOTE: In order to launch WCF Test Client for testing this service, please select Service1.svc or Service1.svc.cs at the Solution Explorer and start debugging.
namespace testWcf {
[AspNetCompatibilityRequirements(RequirementsMode= AspNetCompatibilityRequirementsMode.Allowed)]
public class Service1 : ITestWcf
{
public BookEntity GetuserTypeDetails()
{
BookEntity result = new BookEntity();
BookBll bk = new BookBll();
result.userlist = bk.GetuserTypeDetails().userlist ;
return result;
}
}
}