public EntryApiController(EntryQueries queries, OtherService otherService, AlbumService albumService, ArtistService artistService, SongQueries songQueries, IEntryUrlParser entryUrlParser) { this.queries = queries; this.otherService = otherService; this.albumService = albumService; this.artistService = artistService; this.songQueries = songQueries; this.entryUrlParser = entryUrlParser; }
public SearchController(OtherService services, ArtistService artistService, AlbumService albumService, SongService songService, SongListQueries songListQueries, TagQueries tagQueries, EventQueries eventQueries, EntryQueries entryQueries, IUserPermissionContext permissionContext) { _services = services; _artistService = artistService; _albumService = albumService; _songService = songService; _songListQueries = songListQueries; _tagQueries = tagQueries; _eventQueries = eventQueries; _entryQueries = entryQueries; _permissionContext = permissionContext; }
public SearchController(OtherService services, ArtistService artistService, AlbumService albumService, SongService songService, SongListQueries songListQueries, TagQueries tagQueries, EventQueries eventQueries, EntryQueries entryQueries, IUserPermissionContext permissionContext) { this.services = services; this.artistService = artistService; this.albumService = albumService; this.songService = songService; this.songListQueries = songListQueries; this.tagQueries = tagQueries; this.eventQueries = eventQueries; this.entryQueries = entryQueries; this.permissionContext = permissionContext; }
public EntryApiController( EntryQueries queries, OtherService otherService, AlbumService albumService, ArtistService artistService, SongQueries songQueries, IEntryUrlParser entryUrlParser, IViewRenderService viewRenderService) { _queries = queries; _otherService = otherService; _albumService = albumService; _artistService = artistService; _songQueries = songQueries; _entryUrlParser = entryUrlParser; _viewRenderService = viewRenderService; }
public QueryService(ArtistQueries artistQueries, TagQueries tagQueries, UserQueries userQueries, AlbumService albumService, ArtistService artistService, SongQueries songQueries, SongService songService, SongListQueries songListQueries, UserService userService, OtherService otherService, EntryQueries entryQueries, IUserPermissionContext userPermissionContext) { this.artistQueries = artistQueries; this.tagQueries = tagQueries; this.userQueries = userQueries; this.albumService = albumService; this.artistService = artistService; this.songQueries = songQueries; this.entryQueries = entryQueries; this.songService = songService; this.songListQueries = songListQueries; this.userService = userService; this.otherService = otherService; this.userPermissionContext = userPermissionContext; }
public void SetUp() { repository = new FakeAlbumRepository(); var permissionContext = new FakePermissionContext(); var thumbPersister = new InMemoryImagePersister(); queries = new EntryQueries(repository, permissionContext, thumbPersister); var group = CreateEntry.Artist(ArtistType.OtherGroup, name: "1640mP"); var artist = CreateEntry.Producer(name: "40mP"); var tag = new Tag("pop_rock"); artist.Tags.Usages.Add(new ArtistTagUsage(artist, tag)); var artist2 = CreateEntry.Producer(name: "Tripshots"); var album = CreateEntry.Album(name: "40mP Piano Arrange Album"); var song = CreateEntry.Song(name: "Mosaik Role [40mP ver.]"); repository.Save(group, artist, artist2); repository.Save(album); repository.Save(song); repository.Save(tag); }
public EntryApiController(EntryQueries queries) { this.queries = queries; }
public EntryApiController(EntryQueries queries, OtherService otherService) { this.queries = queries; this.otherService = otherService; }