Author: deap82 | Posted on: 6/4/2009 3:50:26 AM | Views : 513

Hi!
I have some services that generally looks like this:
 
1 [System.Web.Script.Services.ScriptService] 2 [System.Web.Script.Services.GenerateScriptType(typeof(Course))] 3 public class CourseService : System.Web.Services.WebService
4 { 5 [WebMethod] 6 public Course GetEntity(int id) 7 { 8 return CourseProvider.Get(id); 9 } 10 11 [WebMethod] 12 public Course InsertEntity(Course entity) 13 { 14 return CourseProvider.Insert(entity); 15 } 16 17 [WebMeth ...

Go to the complete details ...