示例#1
0
 public string newCollectionType([FromBody] iCollectionType parser)
 {
     parser._collectionTypeCode = Guid.NewGuid().ToString();
     parser._addedBy            = "0";
     parser.setConnectionString(connectionstring_global);
     return(parser.dbInsert());
 }
示例#2
0
 public string removeCollectionType([FromBody] iCollectionType parser)
 {
     parser.setConnectionString(connectionstring_global);
     return(parser.dbDelete());
 }
示例#3
0
 public string editCollectionType([FromBody] iCollectionType parser)
 {
     parser._addedBy = "0";
     parser.setConnectionString(connectionstring_global);
     return(parser.dbUpdate());
 }