title: An object reference is required for the non-static field, method, or property
body: <p>I read through the the other topics on the same issue, but not sure that i should work off an inctance, in my instance.</p>
  
  <p>i have the following:</p>
  
  <pre><code>public interface ITrainingService : IDependency
  {
     void ResetModule(int id, int userScormModuleId, int currentUser);
  }
  
  public class TrainingService : ITrainingService
  {
   public void ResetModule(int id, int userScormModuleId, int currentUser)
   {
     Zinc.Repositories.Scorm.IScormModuleRepository.ResetModule(id, userScormModuleId, currentUser);  //i get the error here
   }
  }
  </code></pre>
  
  <p>ResetModule is contained in:</p>
  
  <pre><code>public class ScormModuleRepository : Repository&lt;ScormModule&gt;, IScormModuleRepository
  {
     public void ResetModule(int id, int userScormModuleId, int currentUser)
     {
       using (SqlConnection conn = new SqlConnection(ZincModelContainer.CONNECTIONSTRING))
       {
           using (SqlCommand cmd = conn.CreateCommand())
           {
             conn.Open();
             cmd.CommandType = System.Data.CommandType.StoredProcedure;
             cmd.CommandText = "[Zinc].[ResetUserScormModuleData]";
  
             SqlParameter param = new SqlParameter("@userId", System.Data.SqlDbType.Int);
             param.Value = id;
             cmd.Parameters.Add(param);
  
             SqlParameter param2 = new SqlParameter("@userScormModuleId", System.Data.SqlDbType.Int);
             param2.Value = userScormModuleId;
             cmd.Parameters.Add(param2);
  
             SqlParameter param3 = new SqlParameter("@currentUser", System.Data.SqlDbType.Int);
             param3.Value = currentUser;
             cmd.Parameters.Add(param3);
  
             cmd.ExecuteNonQuery();
          }
       }
    }
  }
   public interface IScormModuleRepository : IRepository&lt;ScormModule&gt;
   {
     void ResetModule(int id, int userScormModuleId, int currentUser);
   }
  </code></pre>
  
  <p>the whole error:  Error 1   An object reference is required for the non-static field, method, or property 'Zinc.Repositories.Scorm.IScormModuleRepository.ResetModule(int, int, int)'   C:\TFSPreview\Zinc\Project\ServiceImplementations\TrainingService.cs    501 8   Zinc</p>
  
  <p>i dont understand? how must i work from an instance? or what must i instantiate or is my problem of another nature?</p>
  
  <p>thanks</p>