public int New_(string p_surnames, bool p_isActive, bool p_isDiseased, String p_pass, string p_name, string p_description, string p_email) { UserEN userEN = null; int oid; //Initialized UserEN userEN = new UserEN(); 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 oid = _IUserCAD.New_(userEN); return(oid); }
public int New_() { UserEN userEN = null; int oid; //Initialized UserEN userEN = new UserEN(); //Call to UserCAD oid = _IUserCAD.New_(userEN); return(oid); }