Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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));
 }