mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-30 19:54:16 -04:00
Finishing the library manager
This commit is contained in:
parent
e954af4787
commit
b3847a5bc5
@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using Kyoo.Models;
|
using Kyoo.Models;
|
||||||
|
|
||||||
namespace Kyoo.Controllers
|
namespace Kyoo.Controllers
|
||||||
@ -6,70 +7,71 @@ namespace Kyoo.Controllers
|
|||||||
public interface ILibraryManager
|
public interface ILibraryManager
|
||||||
{
|
{
|
||||||
// Get by slug
|
// Get by slug
|
||||||
Library GetLibrary(string slug);
|
Task<Library> GetLibrary(string slug);
|
||||||
Collection GetCollection(string slug);
|
Task<Collection> GetCollection(string slug);
|
||||||
Show GetShow(string slug);
|
Task<Show> GetShow(string slug);
|
||||||
Season GetSeason(string showSlug, long seasonNumber);
|
Task<Season> GetSeason(string showSlug, long seasonNumber);
|
||||||
Episode GetEpisode(string showSlug, long seasonNumber, long episodeNumber);
|
Task<Episode> GetEpisode(string showSlug, long seasonNumber, long episodeNumber);
|
||||||
Episode GetMovieEpisode(string movieSlug);
|
Task<Episode> GetMovieEpisode(string movieSlug);
|
||||||
Track GetTrack(string slug);
|
Task<Track> GetTrack(long episodeID, string language, bool isForced);
|
||||||
Genre GetGenre(string slug);
|
Task<Genre> GetGenre(string slug);
|
||||||
Studio GetStudio(string slug);
|
Task<Studio> GetStudio(string slug);
|
||||||
People GetPeople(string slug);
|
Task<People> GetPeople(string slug);
|
||||||
|
|
||||||
// Get all
|
// Get all
|
||||||
IEnumerable<Library> GetLibraries();
|
Task<IEnumerable<Library>> GetLibraries();
|
||||||
IEnumerable<Collection> GetCollections();
|
Task<IEnumerable<Collection>> GetCollections();
|
||||||
IEnumerable<Show> GetShows();
|
Task<IEnumerable<Show>> GetShows();
|
||||||
IEnumerable<Season> GetSeasons();
|
Task<IEnumerable<Season>> GetSeasons();
|
||||||
IEnumerable<Episode> GetEpisodes();
|
Task<IEnumerable<Episode>> GetEpisodes();
|
||||||
IEnumerable<Track> GetTracks();
|
Task<IEnumerable<Track>> GetTracks();
|
||||||
IEnumerable<Studio> GetStudios();
|
Task<IEnumerable<Studio>> GetStudios();
|
||||||
IEnumerable<People> GetPeoples();
|
Task<IEnumerable<People>> GetPeoples();
|
||||||
IEnumerable<Genre> GetGenres();
|
Task<IEnumerable<Genre>> GetGenres();
|
||||||
|
Task<IEnumerable<ProviderID>> GetProviders();
|
||||||
|
|
||||||
// Search
|
// Search
|
||||||
IEnumerable<Library> SearchLibraries(string searchQuery);
|
Task<IEnumerable<Library>> SearchLibraries(string searchQuery);
|
||||||
IEnumerable<Collection> SearchCollections(string searchQuery);
|
Task<IEnumerable<Collection>> SearchCollections(string searchQuery);
|
||||||
IEnumerable<Show> SearchShows(string searchQuery);
|
Task<IEnumerable<Show>> SearchShows(string searchQuery);
|
||||||
IEnumerable<Season> SearchSeasons(string searchQuery);
|
Task<IEnumerable<Season>> SearchSeasons(string searchQuery);
|
||||||
IEnumerable<Episode> SearchEpisodes(string searchQuery);
|
Task<IEnumerable<Episode>> SearchEpisodes(string searchQuery);
|
||||||
IEnumerable<Genre> SearchGenres(string searchQuery);
|
Task<IEnumerable<Genre>> SearchGenres(string searchQuery);
|
||||||
IEnumerable<Studio> SearchStudios(string searchQuery);
|
Task<IEnumerable<Studio>> SearchStudios(string searchQuery);
|
||||||
IEnumerable<People> SearchPeople(string searchQuery);
|
Task<IEnumerable<People>> SearchPeople(string searchQuery);
|
||||||
|
|
||||||
//Register values
|
//Register values
|
||||||
void RegisterLibrary(Library library);
|
Task RegisterLibrary(Library library);
|
||||||
void RegisterCollection(Collection collection);
|
Task RegisterCollection(Collection collection);
|
||||||
void RegisterShow(Show show);
|
Task RegisterShow(Show show);
|
||||||
void RegisterSeason(Season season);
|
Task RegisterSeason(Season season);
|
||||||
void RegisterEpisode(Episode episode);
|
Task RegisterEpisode(Episode episode);
|
||||||
void RegisterTrack(Track track);
|
Task RegisterTrack(Track track);
|
||||||
void RegisterGenre(Genre genre);
|
Task RegisterGenre(Genre genre);
|
||||||
void RegisterStudio(Studio studio);
|
Task RegisterStudio(Studio studio);
|
||||||
void RegisterPeople(People people);
|
Task RegisterPeople(People people);
|
||||||
|
|
||||||
// Edit values
|
// Edit values
|
||||||
void EditLibrary(Library library, bool resetOld);
|
Task EditLibrary(Library library, bool resetOld);
|
||||||
void EditCollection(Collection collection, bool resetOld);
|
Task EditCollection(Collection collection, bool resetOld);
|
||||||
void EditShow(Show show, bool resetOld);
|
Task EditShow(Show show, bool resetOld);
|
||||||
void EditSeason(Season season, bool resetOld);
|
Task EditSeason(Season season, bool resetOld);
|
||||||
void EditEpisode(Episode episode, bool resetOld);
|
Task EditEpisode(Episode episode, bool resetOld);
|
||||||
void EditTrack(Track track, bool resetOld);
|
Task EditTrack(Track track, bool resetOld);
|
||||||
void EditGenre(Genre genre, bool resetOld);
|
Task EditGenre(Genre genre, bool resetOld);
|
||||||
void EditStudio(Studio studio, bool resetOld);
|
Task EditStudio(Studio studio, bool resetOld);
|
||||||
void EditPeople(People people, bool resetOld);
|
Task EditPeople(People people, bool resetOld);
|
||||||
|
|
||||||
|
|
||||||
// Delete values
|
// Delete values
|
||||||
void DelteLibrary(Library library);
|
Task DelteLibrary(Library library);
|
||||||
void DeleteCollection(Collection collection);
|
Task DeleteCollection(Collection collection);
|
||||||
void DeleteShow(Show show);
|
Task DeleteShow(Show show);
|
||||||
void DeleteSeason(Season season);
|
Task DeleteSeason(Season season);
|
||||||
void DeleteEpisode(Episode episode);
|
Task DeleteEpisode(Episode episode);
|
||||||
void DeleteTrack(Track track);
|
Task DeleteTrack(Track track);
|
||||||
void DeleteGenre(Genre genre);
|
Task DeleteGenre(Genre genre);
|
||||||
void DeleteStudio(Studio studio);
|
Task DeleteStudio(Studio studio);
|
||||||
void DeletePeople(People people);
|
Task DeletePeople(People people);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Threading.Tasks;
|
||||||
using Kyoo.Models;
|
using Kyoo.Models;
|
||||||
|
|
||||||
namespace Kyoo.Controllers
|
namespace Kyoo.Controllers
|
||||||
@ -14,297 +15,295 @@ namespace Kyoo.Controllers
|
|||||||
private readonly IGenreRepository _genres;
|
private readonly IGenreRepository _genres;
|
||||||
private readonly IStudioRepository _studios;
|
private readonly IStudioRepository _studios;
|
||||||
private readonly IPeopleRepository _people;
|
private readonly IPeopleRepository _people;
|
||||||
|
private readonly IProviderRepository _providers;
|
||||||
|
|
||||||
public LibraryManager(ILibraryRepository libraries,
|
public LibraryManager(DatabaseContext database)
|
||||||
ICollectionRepository collections,
|
|
||||||
IShowRepository shows,
|
|
||||||
ISeasonRepository seasons,
|
|
||||||
IEpisodeRepository episodes,
|
|
||||||
ITrackRepository tracks,
|
|
||||||
IGenreRepository genres,
|
|
||||||
IStudioRepository studios,
|
|
||||||
IPeopleRepository people)
|
|
||||||
{
|
{
|
||||||
_libraries = libraries;
|
_providers = new ProviderRepository(database);
|
||||||
_collections = collections;
|
_libraries = new LibraryRepository(database, _providers);
|
||||||
_shows = shows;
|
_collections = new CollectionRepository(database);
|
||||||
_seasons = seasons;
|
_genres = new GenreRepository(database);
|
||||||
_episodes = episodes;
|
_people = new PeopleRepository(database, _providers);
|
||||||
_tracks = tracks;
|
_studios = new StudioRepository(database);
|
||||||
_genres = genres;
|
_shows = new ShowRepository(database, _genres, _people, _studios, _providers);
|
||||||
_studios = studios;
|
_seasons = new SeasonRepository(database, _providers);
|
||||||
_people = people;
|
_episodes = new EpisodeRepository(database, _providers);
|
||||||
|
_tracks = new TrackRepository(database);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Library GetLibrary(string slug)
|
public Task<Library> GetLibrary(string slug)
|
||||||
{
|
{
|
||||||
return _libraries.Get(slug);
|
return _libraries.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Collection GetCollection(string slug)
|
public Task<Collection> GetCollection(string slug)
|
||||||
{
|
{
|
||||||
return _collections.Get(slug);
|
return _collections.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Show GetShow(string slug)
|
public Task<Show> GetShow(string slug)
|
||||||
{
|
{
|
||||||
return _shows.Get(slug);
|
return _shows.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Season GetSeason(string showSlug, long seasonNumber)
|
public Task<Season> GetSeason(string showSlug, long seasonNumber)
|
||||||
{
|
{
|
||||||
return _seasons.Get(showSlug, seasonNumber);
|
return _seasons.Get(showSlug, seasonNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Episode GetEpisode(string showSlug, long seasonNumber, long episodeNumber)
|
public Task<Episode> GetEpisode(string showSlug, long seasonNumber, long episodeNumber)
|
||||||
{
|
{
|
||||||
return _episodes.Get(showSlug, seasonNumber, episodeNumber);
|
return _episodes.Get(showSlug, seasonNumber, episodeNumber);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Episode GetMovieEpisode(string movieSlug)
|
public Task<Episode> GetMovieEpisode(string movieSlug)
|
||||||
{
|
{
|
||||||
return _episodes.Get(movieSlug);
|
return _episodes.Get(movieSlug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Track GetTrack(string slug)
|
public Task<Track> GetTrack(long episodeID, string language, bool isForced)
|
||||||
{
|
{
|
||||||
return _tracks.Get(slug);
|
return _tracks.Get(episodeID, language, isForced);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Genre GetGenre(string slug)
|
public Task<Genre> GetGenre(string slug)
|
||||||
{
|
{
|
||||||
return _genres.Get(slug);
|
return _genres.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Studio GetStudio(string slug)
|
public Task<Studio> GetStudio(string slug)
|
||||||
{
|
{
|
||||||
return _studios.Get(slug);
|
return _studios.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public People GetPeople(string slug)
|
public Task<People> GetPeople(string slug)
|
||||||
{
|
{
|
||||||
return _people.Get(slug);
|
return _people.Get(slug);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Library> GetLibraries()
|
public Task<IEnumerable<Library>> GetLibraries()
|
||||||
{
|
{
|
||||||
return _libraries.GetAll();
|
return _libraries.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Collection> GetCollections()
|
public Task<IEnumerable<Collection>> GetCollections()
|
||||||
{
|
{
|
||||||
return _collections.GetAll();
|
return _collections.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Show> GetShows()
|
public Task<IEnumerable<Show>> GetShows()
|
||||||
{
|
{
|
||||||
return _shows.GetAll();
|
return _shows.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Season> GetSeasons()
|
public Task<IEnumerable<Season>> GetSeasons()
|
||||||
{
|
{
|
||||||
return _seasons.GetAll();
|
return _seasons.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Episode> GetEpisodes()
|
public Task<IEnumerable<Episode>> GetEpisodes()
|
||||||
{
|
{
|
||||||
return _episodes.GetAll();
|
return _episodes.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Track> GetTracks()
|
public Task<IEnumerable<Track>> GetTracks()
|
||||||
{
|
{
|
||||||
return _tracks.GetAll();
|
return _tracks.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Studio> GetStudios()
|
public Task<IEnumerable<Studio>> GetStudios()
|
||||||
{
|
{
|
||||||
return _studios.GetAll();
|
return _studios.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<People> GetPeoples()
|
public Task<IEnumerable<People>> GetPeoples()
|
||||||
{
|
{
|
||||||
return _people.GetAll();
|
return _people.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Genre> GetGenres()
|
public Task<IEnumerable<Genre>> GetGenres()
|
||||||
{
|
{
|
||||||
return _genres.GetAll();
|
return _genres.GetAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Library> SearchLibraries(string searchQuery)
|
public Task<IEnumerable<ProviderID>> GetProviders()
|
||||||
|
{
|
||||||
|
return _providers.GetAll();
|
||||||
|
}
|
||||||
|
|
||||||
|
public Task<IEnumerable<Library>> SearchLibraries(string searchQuery)
|
||||||
{
|
{
|
||||||
return _libraries.Search(searchQuery);
|
return _libraries.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Collection> SearchCollections(string searchQuery)
|
public Task<IEnumerable<Collection>> SearchCollections(string searchQuery)
|
||||||
{
|
{
|
||||||
return _collections.Search(searchQuery);
|
return _collections.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Show> SearchShows(string searchQuery)
|
public Task<IEnumerable<Show>> SearchShows(string searchQuery)
|
||||||
{
|
{
|
||||||
return _shows.Search(searchQuery);
|
return _shows.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Season> SearchSeasons(string searchQuery)
|
public Task<IEnumerable<Season>> SearchSeasons(string searchQuery)
|
||||||
{
|
{
|
||||||
return _seasons.Search(searchQuery);
|
return _seasons.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Episode> SearchEpisodes(string searchQuery)
|
public Task<IEnumerable<Episode>> SearchEpisodes(string searchQuery)
|
||||||
{
|
{
|
||||||
return _episodes.Search(searchQuery);
|
return _episodes.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Genre> SearchGenres(string searchQuery)
|
public Task<IEnumerable<Genre>> SearchGenres(string searchQuery)
|
||||||
{
|
{
|
||||||
return _genres.Search(searchQuery);
|
return _genres.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<Studio> SearchStudios(string searchQuery)
|
public Task<IEnumerable<Studio>> SearchStudios(string searchQuery)
|
||||||
{
|
{
|
||||||
return _studios.Search(searchQuery);
|
return _studios.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<People> SearchPeople(string searchQuery)
|
public Task<IEnumerable<People>> SearchPeople(string searchQuery)
|
||||||
{
|
{
|
||||||
return _people.Search(searchQuery);
|
return _people.Search(searchQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterLibrary(Library library)
|
public Task RegisterLibrary(Library library)
|
||||||
{
|
{
|
||||||
_libraries.Create(library);
|
return _libraries.Create(library);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterCollection(Collection collection)
|
public Task RegisterCollection(Collection collection)
|
||||||
{
|
{
|
||||||
_collections.Create(collection);
|
return _collections.Create(collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterShow(Show show)
|
public Task RegisterShow(Show show)
|
||||||
{
|
{
|
||||||
_shows.Create(show);
|
return _shows.Create(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterSeason(Season season)
|
public Task RegisterSeason(Season season)
|
||||||
{
|
{
|
||||||
_seasons.Create(season);
|
return _seasons.Create(season);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterEpisode(Episode episode)
|
public Task RegisterEpisode(Episode episode)
|
||||||
{
|
{
|
||||||
_episodes.Create(episode);
|
return _episodes.Create(episode);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterTrack(Track track)
|
public Task RegisterTrack(Track track)
|
||||||
{
|
{
|
||||||
_tracks.Create(track);
|
return _tracks.Create(track);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterGenre(Genre genre)
|
public Task RegisterGenre(Genre genre)
|
||||||
{
|
{
|
||||||
_genres.Create(genre);
|
return _genres.Create(genre);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterStudio(Studio studio)
|
public Task RegisterStudio(Studio studio)
|
||||||
{
|
{
|
||||||
_studios.Create(studio);
|
return _studios.Create(studio);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RegisterPeople(People people)
|
public Task RegisterPeople(People people)
|
||||||
{
|
{
|
||||||
_people.Create(people);
|
return _people.Create(people);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditLibrary(Library library, bool resetOld)
|
public Task EditLibrary(Library library, bool resetOld)
|
||||||
{
|
{
|
||||||
_libraries.Edit(library, resetOld);
|
return _libraries.Edit(library, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditCollection(Collection collection, bool resetOld)
|
public Task EditCollection(Collection collection, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _collections.Edit(collection, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditShow(Show show, bool resetOld)
|
public Task EditShow(Show show, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _shows.Edit(show, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditSeason(Season season, bool resetOld)
|
public Task EditSeason(Season season, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _seasons.Edit(season, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditEpisode(Episode episode, bool resetOld)
|
public Task EditEpisode(Episode episode, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _episodes.Edit(episode, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditTrack(Track track, bool resetOld)
|
public Task EditTrack(Track track, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _tracks.Edit(track, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditGenre(Genre genre, bool resetOld)
|
public Task EditGenre(Genre genre, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _genres.Edit(genre, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditStudio(Studio studio, bool resetOld)
|
public Task EditStudio(Studio studio, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _studios.Edit(studio, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void EditPeople(People people, bool resetOld)
|
public Task EditPeople(People people, bool resetOld)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _people.Edit(people, resetOld);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DelteLibrary(Library library)
|
public Task DelteLibrary(Library library)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _libraries.Delete(library);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteCollection(Collection collection)
|
public Task DeleteCollection(Collection collection)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _collections.Delete(collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteShow(Show show)
|
public Task DeleteShow(Show show)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _shows.Delete(show);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteSeason(Season season)
|
public Task DeleteSeason(Season season)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _seasons.Delete(season);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteEpisode(Episode episode)
|
public Task DeleteEpisode(Episode episode)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _episodes.Delete(episode);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteTrack(Track track)
|
public Task DeleteTrack(Track track)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _tracks.Delete(track);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteGenre(Genre genre)
|
public Task DeleteGenre(Genre genre)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _genres.Delete(genre);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeleteStudio(Studio studio)
|
public Task DeleteStudio(Studio studio)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _studios.Delete(studio);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DeletePeople(People people)
|
public Task DeletePeople(People people)
|
||||||
{
|
{
|
||||||
throw new System.NotImplementedException();
|
return _people.Delete(people);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user