Exemple #1
0
        public bool Remove(string key)
        {
            BusinessWorkflowBase.ValidateRequiredKey(key);
            // Find existing Entity
            var existingEntity = EpisodeCharactersRepository.Get(key);

            // Do the Remove
            return(Remove(existingEntity));
        }
Exemple #2
0
        public bool Remove(string key)
        {
            BusinessWorkflowBase.ValidateRequiredKey(key);
            // Find existing Entity
            var existingEntity = VolumeConceptsRepository.Get(key);

            // Do the Remove
            return(Remove(existingEntity));
        }
Exemple #3
0
        public bool Remove(string key)
        {
            BusinessWorkflowBase.ValidateRequiredKey(key);
            // Find existing Entity
            var existingEntity = TeamAppearedInIssuesRepository.Get(key);

            // Do the Remove
            return(Remove(existingEntity));
        }
Exemple #4
0
        public bool Deactivate(string key)
        {
            BusinessWorkflowBase.ValidateRequiredKey(key);
            // Find existing Entity
            var existingEntity = EpisodeCharactersRepository.Get(key);

            if (existingEntity == null)
            {
                throw new InvalidOperationException($"Could not find an entity with key {key} to deactivate it");
            }
            // Do the Deactivate
            return(Deactivate(existingEntity));
        }
 public IPublisherAliasModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(PublisherAliasMapper.MapToModel(PublisherAliasesRepository.Get(key)));
 }
Exemple #6
0
 public IMovieStoryArcModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(MovieStoryArcMapper.MapToModel(MovieStoryArcsRepository.Get(key)));
 }
 public IOriginModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(OriginMapper.MapToModel(OriginsRepository.Get(key)));
 }
 public ICharacterVolumeModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(CharacterVolumeMapper.MapToModel(CharacterVolumesRepository.Get(key)));
 }
 public IEpisodeTeamFirstAppearanceModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(EpisodeTeamFirstAppearanceMapper.MapToModel(EpisodeTeamFirstAppearancesRepository.Get(key)));
 }
 public IObjectMovieModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ObjectMovieMapper.MapToModel(ObjectMoviesRepository.Get(key)));
 }
Exemple #11
0
 public ITeamCharacterFriendModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(TeamCharacterFriendMapper.MapToModel(TeamCharacterFriendsRepository.Get(key)));
 }
Exemple #12
0
 public IVolumeConceptModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(VolumeConceptMapper.MapToModel(VolumeConceptsRepository.Get(key)));
 }
Exemple #13
0
 public ITeamAppearedInIssueModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(TeamAppearedInIssueMapper.MapToModel(TeamAppearedInIssuesRepository.Get(key)));
 }
 public IIssueWriterModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(IssueWriterMapper.MapToModel(IssueWritersRepository.Get(key)));
 }
Exemple #15
0
 public IVideoModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(VideoMapper.MapToModel(VideosRepository.Get(key)));
 }
Exemple #16
0
 public IResourceTypeModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ResourceTypeMapper.MapToModel(ResourceTypesRepository.Get(key)));
 }
Exemple #17
0
 public IProfileModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ProfileMapper.MapToModel(ProfilesRepository.Get(key)));
 }
 public IPersonModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(PersonMapper.MapToModel(PeopleRepository.Get(key)));
 }
 public IConceptIssueModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ConceptIssueMapper.MapToModel(ConceptIssuesRepository.Get(key)));
 }
Exemple #20
0
 public IEpisodeCharacterModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(EpisodeCharacterMapper.MapToModel(EpisodeCharactersRepository.Get(key)));
 }
 public ISeriesLocationModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(SeriesLocationMapper.MapToModel(SeriesLocationsRepository.Get(key)));
 }