public PlaylistController(IPlaylistService playlistService, IUserService userService, IPlaylistFileService playlistFileService) { _playlistService = playlistService; _userService = userService; _playlistFileService = playlistFileService; ViewBag.IsAdmin = _userService.IsUserInRole("Admin"); }
public PlaylistService(IRepository<Playlist> playListRepository, IPlaylistFileService playlistFileService, IPlaylistTagService playlistTagService) { _playListRepository = playListRepository; _playlistFileService = playlistFileService; _playlistTagService = playlistTagService; }