public long UpdateData() { DalAgent DalAgent = new DalAgent(); long status; status = 0; try { _UserAction = 2; status = DalAgent.UpdateAgent(this); DalAgent = null; } catch (Exception ex) { } return(status); }
public static Int32 UpdateAgent(Int32 agentId, Int32 userId, string firstName, string lastName, string email, string phone, bool publicEnabled) { return(DalAgent.UpdateAgent(agentId, userId, firstName, lastName, email, phone, publicEnabled)); }