コード例 #1
0
 public PlaylistController(IUserService userService,
                           IPlaylistService playlistService,
                           ISqlPlaylistRepository sqlplaylistRepository,
                           ISqlUserRepository sqlUserRepository)
 {
     this.userService           = userService;
     this.playlistService       = playlistService;
     this.sqlplaylistRepository = sqlplaylistRepository;
     this.sqlUserRepository     = sqlUserRepository;
 }
コード例 #2
0
 public HomeController(ISqlPlaylistRepository repository, IConfiguration config)
 {
     playlistRepository = repository;
     Configuration      = config;
 }