Changeset 5005 for branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Models
- Timestamp:
- 12/01/10 01:10:28 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Models/AlgorithmClassModel.cs
r4985 r5005 32 32 //Add AlgorithmClass table entry 33 33 public bool AddAlgorithmClass(string name, string description) { 34 long retValue; 34 35 //get service client 35 36 OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient(); … … 39 40 40 41 OKBService.AlgorithmClass ac = new OKBService.AlgorithmClass(); 41 ac.Id = 8; 42 //test 43 //ac.Id = 8; 42 44 ac.Name = name; 43 45 ac.Description = description; 44 sc.AddAlgorithmClass(ac);46 retValue = sc.AddAlgorithmClass(ac); 45 47 46 48 return true;
Note: See TracChangeset
for help on using the changeset viewer.