Example #1
0
        public string CrearUsuarioProm(string p_Email, String p_Password, bool p_Bloqueado, string p_CIF)
        {
            PromotorEN promotorEN = null;
            string     oid;

            //Initialized PromotorEN
            promotorEN       = new PromotorEN();
            promotorEN.Email = p_Email;

            promotorEN.Password = Utils.Util.GetEncondeMD5(p_Password);

            promotorEN.Bloqueado = p_Bloqueado;

            promotorEN.CIF = p_CIF;

            //Call to PromotorCAD

            oid = _IPromotorCAD.CrearUsuarioProm(promotorEN);
            return(oid);
        }