public MusicService(IConfiguration config) { var database = new ConnectDatabase <Music>(config.GetConnectionString("MusicDB"), "Musics", "Music"); _music = database.GetConn(); }
public MusicService(IConfiguration config) { var database = new ConnectDatabase <Music>(config.GetConnectionString("MusicDB"), "Musics", "Music"); _music = database.GetConn(); }