public UserRepository(IAmbientDataContextLocator ambientDbContextLocator)
 {
     if (ambientDbContextLocator == null)
     {
         throw new ArgumentNullException("ambientDbContextLocator");
     }
     _ambientDbContextLocator = ambientDbContextLocator;
 }
 public UserRepository(IAmbientDataContextLocator ambientDbContextLocator)
 {
     if (ambientDbContextLocator == null) throw new ArgumentNullException("ambientDbContextLocator");
     _ambientDbContextLocator = ambientDbContextLocator;
 }