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