示例#1
0
 public string newPaymentType([FromBody] iPaymentType parser)
 {
     parser._paymentTypeCode = Guid.NewGuid().ToString();
     parser._addedBy         = "0";
     parser.setConnectionString(connectionstring_global);
     return(parser.dbInsert());
 }
示例#2
0
 public string removePaymentType([FromBody] iPaymentType parser)
 {
     parser.setConnectionString(connectionstring_global);
     return(parser.dbDelete());
 }
示例#3
0
 public string editPaymentType([FromBody] iPaymentType parser)
 {
     parser._addedBy = "0";
     parser.setConnectionString(connectionstring_global);
     return(parser.dbUpdate());
 }