Exemple #1
0
 public EFLocationRepository(TravelBlogContext connection = null)
 {
     if (connection == null)
     {
         this.db = new TravelBlogContext();
     }
     else
     {
         this.db = connection;
     }
 }
 public EFSuggestionRepository(TravelBlogContext connection = null)
 {
     if (connection == null)
     {
         db = new TravelBlogContext();
     }
     else
     {
         db = connection;
     }
 }