public TournamentRepository(string connectionString, IBasicContextFactrory contextFactory) : base(connectionString, contextFactory) { this.db = contextFactory.CreateDbContext(ConnectionString); }
public BaseRepository(string connectionString, IBasicContextFactrory basicConextFactrory) { ConnectionString = connectionString; ConextFactrory = basicConextFactrory; }