title: Try Catch in Repository
body: <p>None of the examples I have looked at for Repository Patterns include any kind of error handling.
  Why is this? Say for instance I have this:</p>
  
  <pre><code>public virtual TItem Insert&lt;TItem&gt;(TItem item) where TItem:class,new()
      {
          dbContext.Set&lt;TItem&gt;().Add(item);
          try
          {
              dbContext.SaveChanges();
          }
          catch (DbUpdateException)
          {
  
              return null;
          }
  
          return item;
  
      }
  </code></pre>
  
  <p>An instance where we violate a constraint. I catch the DbUpdateException... Where would this error handling live if not in the repository itself?</p>