public RepositoryManager(ShuflContext context) { AlbumRepository = new AlbumRepository(context); AlbumArtistRepository = new AlbumArtistRepository(context); AlbumImageRepository = new AlbumImageRepository(context); ArtistRepository = new ArtistRepository(context); ArtistImageRepository = new ArtistImageRepository(context); ArtistGenreRepository = new ArtistGenreRepository(context); GenreRepository = new GenreRepository(context); GroupRepository = new GroupRepository(context); GroupAlbumRepository = new GroupAlbumRepository(context); GroupAlbumRatingRepository = new GroupAlbumRatingRepository(context); GroupInviteRepository = new GroupInviteRepository(context); GroupMemberRepository = new GroupMemberRepository(context); GroupPlaylistRepository = new GroupPlaylistRepository(context); GroupPlaylistRatingRepository = new GroupPlaylistRatingRepository(context); PasswordResetRepository = new PasswordResetRepository(context); PlaylistRepository = new PlaylistRepository(context); PlaylistImageRepository = new PlaylistImageRepository(context); TrackRepository = new TrackRepository(context); TrackArtistRepository = new TrackArtistRepository(context); UserRepository = new UserRepository(context); UserImageRepository = new UserImageRepository(context); UserVerificationRepository = new UserVerificationRepository(context); }
public ArtistGenreService(ArtistGenreRepository repo) { _repo = repo; }