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