Example #1
0
        public void Modify(int p_User_OID)
        {
            UserEN userEN = null;

            //Initialized UserEN
            userEN    = new UserEN();
            userEN.Id = p_User_OID;
            //Call to UserCAD

            _IUserCAD.Modify(userEN);
        }
Example #2
0
        public void Modify(int p_User_OID, string p_surnames, bool p_isActive, bool p_isDiseased, String p_pass, string p_name, string p_description, string p_email)
        {
            UserEN userEN = null;

            //Initialized UserEN
            userEN             = new UserEN();
            userEN.Id          = p_User_OID;
            userEN.Surnames    = p_surnames;
            userEN.IsActive    = p_isActive;
            userEN.IsDiseased  = p_isDiseased;
            userEN.Pass        = Utils.Util.GetEncondeMD5(p_pass);
            userEN.Name        = p_name;
            userEN.Description = p_description;
            userEN.Email       = p_email;
            //Call to UserCAD

            _IUserCAD.Modify(userEN);
        }