コード例 #1
0
 public SongController()
 {
     _db = new MusicPortalDbContext();
     _mngr = new SongManager(_db);
     _helper = new HttpResponseHelper<SongVM>(this);
     _heartpler = new HttpResponseHelper<HeartedSongVM>(this);
 }
コード例 #2
0
 public TestController()
 {
     _db = new MusicPortalDbContext();
 }
コード例 #3
0
 public UserManager() {
     _db = new MusicPortalDbContext();
 }
コード例 #4
0
 public PlaylistsController()
 {
     _db = new MusicPortalDbContext();
     _mngr = new PlaylistManager(_db);
 }
コード例 #5
0
 public PlaylistManager(MusicPortalDbContext db) {
     _db = db;
 }