public virtual int ModifyProcessAgent(string originalGuid, ProcessAgent agent, string extra) { int status = 0; if (dbTicketing.AuthenticateAgentHeader(agentAuthHeader)) { DBManager dbManager = new DBManager(); status = dbManager.ModifyProcessAgent(originalGuid, agent, extra); } return status; }
public override int ModifyDomainCredentials(string originalGuid, ProcessAgent agent, string extra, Coupon inCoupon, Coupon outCoupon) { int status = 0; if (dbTicketing.AuthenticateAgentHeader(agentAuthHeader)) { DBManager dbManager = new DBManager(); try { status = dbManager.ModifyDomainCredentials(originalGuid, agent, inCoupon, outCoupon, extra); } catch (Exception ex) { throw new Exception("USS: ", ex); } } return status; }