public PlaylistController(IUserService userService, IPlaylistService playlistService, ISqlPlaylistRepository sqlplaylistRepository, ISqlUserRepository sqlUserRepository) { this.userService = userService; this.playlistService = playlistService; this.sqlplaylistRepository = sqlplaylistRepository; this.sqlUserRepository = sqlUserRepository; }
public HomeController(ISqlPlaylistRepository repository, IConfiguration config) { playlistRepository = repository; Configuration = config; }