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