public GameBL(IGameDA conn) { this.conn = conn; }
public GamesRepository(IGameDA gameDA, IConfigurationReader cr) { _cr = cr; _db = new SqlConnection(ConfigurationManager.ConnectionStrings["DefaultConnection"].ToString()); _gameDA = gameDA; }