<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">This is the scope of DSC definition in my class library: </span>
 
 
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">DSC.<span style="color: #2b91af">User</span>.AddUser<span style="color: blue"> returns null reference. I just want to check with you the scope definition is correct. Since the only reason it can not create an instant of the object is definiotion.</span></span>
<font face="Courier New" color="#0000ff" size="2"> 
<font face="Courier New" color="#0000ff" size="2"> 
<font face="Courier New" color="#0000ff" size="2"> 
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">using</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> DotShoppingCart.Commercial.Base;</span>
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">using</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> DotShoppingCart.Commercial.Core;</span>
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">using</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> DSC = DotShoppingCart.Commercial.Core;</span>
<font face="Courier New" size="2"> 
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">namespace</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> UserEntity</span>
<font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial">{</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">  <span style="color: blue">public</span> <span style="color: blue">class</span> <span style="color: #2b91af">WebUser</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">    {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">         <span style="color: blue">#region</span> User Private Fields</span>
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">         #region</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> WebUser Constractor</span>
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">         #region</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> WebUser Properties</span>
<font face="Courier New" color="#0000ff" size="2"><span style="font-size: 10pt; color: blue; font-family: 'Courier New'">         #region</span><font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'"> WebUser CRUD Methods</span>
<font face="Courier New" size="2"> 
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">         <span style="color: blue">public</span> <span style="color: blue">int</span> CreateNewUser(<span style="color: #2b91af">WebUser</span> nU)</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">        {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            <span style="color: blue">try</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">               Validate User </span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">               If ValidUser then <span style="color: #2b91af">Error</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">               Add <span style="color: #2b91af">MembershipUser</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">               If null </span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                  then <span style="color: #2b91af">Error</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">               <span style="color: blue">else</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    <span style="color: blue">try</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    <span style="color: blue">int</span> userId = DSC.<span style="color: #2b91af">User</span>.AddUser(nU.UserName, <span style="color: blue">true</span> , <span style="color: #2b91af">CoreHelper</span>.GetReferralId(), nU.FirstName,</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                                       nU.LastName, nU.CompanyName, nU.Address, nU.Address2, nU.City, nU.State,</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                                       nU.Zipcode, nU.CountryId, nU.Phone, nU.PhoneExt, <span style="color: #2b91af">DateTime</span>.Now, <span style="color: blue">true</span>);</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    <span style="color: blue">catch</span> (<span style="color: #2b91af">Exception</span> e)</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                        <span style="color: #2b91af">Error</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                        <span style="color: blue">return</span> (0);</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    Add User role   </span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                    <span style="color: blue">return</span> (1);</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            <span style="color: blue">catch</span> (<span style="color: #2b91af">Exception</span> e)</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            {</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                <span style="color: #2b91af">Error</span></span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">                <span style="color: blue">return</span> (0);</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">            }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">        }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">  }</span>
<font face="Courier New" size="2"><span style="font-size: 10pt; font-family: 'Courier New'">}</span>
<font face="Arial" size="2">