public long DeleteData() { _UserAction = 3; DalAgent DalAgent = new DalAgent(); long status; status = 0; try { status = DalAgent.DeleteAgent(this); DalAgent = null; } catch (Exception ex) { } return(status); }
public static Int32 DeleteAgent(Int32 agentId) { return(DalAgent.DeleteAgent(agentId)); }