Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/01/10 01:10:28 (13 years ago)
Author:
wtollsch
Message:

#1198 AddAlgorithmClass: prototype test successful... new AlgorithmClass added from HLWebOKBAdminPlugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/WebApplication/MVC2/HLWebOKBAdminPlugin/Models/AlgorithmClassModel.cs

    r4985 r5005  
    3232        //Add AlgorithmClass table entry
    3333        public bool AddAlgorithmClass(string name, string description) {
     34            long retValue;
    3435            //get service client
    3536            OKBService.OKBServiceClient sc = new OKBService.OKBServiceClient();
     
    3940
    4041            OKBService.AlgorithmClass ac = new OKBService.AlgorithmClass();
    41             ac.Id = 8;
     42            //test
     43            //ac.Id = 8;
    4244            ac.Name = name;
    4345            ac.Description = description;
    44             sc.AddAlgorithmClass(ac);
     46            retValue = sc.AddAlgorithmClass(ac);
    4547           
    4648            return true;
Note: See TracChangeset for help on using the changeset viewer.