title: Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments in IRepository
body: <p>I have a problem in my code below mentioned.It askes me the 1 argument.
  IRepository</p>
  
  <pre><code>public interface IUserRepository
  {
      List GetAll(); // Error shows me here then i change this to List&lt;User&gt; GetAll(); but still getting the error.
  }
  </code></pre>
  
  <p>Repository</p>
  
  <pre><code>public class UserRepository : IUserRepository
  {
      private IDbConnection _db = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString);
      public List&lt;User&gt; GetAll()
      {
          return this._db.Query&lt;User&gt;("SELECT * FROM Users").ToList();
      }
  }
  </code></pre>