public bool Remove(int id)
        {
            BusinessWorkflowBase.ValidateRequiredID(id);
            // Find existing Entity
            var existingEntity = TeamDisbandedInIssuesRepository.Get(id);

            // Do the Remove
            return(Remove(existingEntity));
        }
Пример #2
0
        public bool Remove(string key)
        {
            BusinessWorkflowBase.ValidateRequiredKey(key);
            // Find existing Entity
            var existingEntity = CharacterFriendlyTeamsRepository.Get(key);

            // Do the Remove
            return(Remove(existingEntity));
        }
        public bool Remove(int id)
        {
            BusinessWorkflowBase.ValidateRequiredID(id);
            // Find existing Entity
            var existingEntity = ConceptAliasesRepository.Get(id);

            // Do the Remove
            return(Remove(existingEntity));
        }
Пример #4
0
        public bool Remove(int id)
        {
            BusinessWorkflowBase.ValidateRequiredID(id);
            // Find existing Entity
            var existingEntity = TeamCharacterFriendsRepository.Get(id);

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

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

            // Do the Remove
            return(Remove(existingEntity));
        }
        public bool Remove(int id)
        {
            BusinessWorkflowBase.ValidateRequiredID(id);
            // Find existing Entity
            var existingEntity = EpisodeObjectFirstAppearancesRepository.Get(id);

            // Do the Remove
            return(Remove(existingEntity));
        }
Пример #8
0
        public bool Deactivate(int id)
        {
            BusinessWorkflowBase.ValidateRequiredID(id);
            // Find existing Entity
            var existingEntity = EpisodeLocationsRepository.Get(id);

            if (existingEntity == null)
            {
                throw new InvalidOperationException($"Could not find an entity with id {id} to deactivate it");
            }
            // Do the Deactivate
            return(Deactivate(existingEntity));
        }
Пример #9
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));
        }
Пример #10
0
 public ITeamAppearedInIssueModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(TeamAppearedInIssueMapper.MapToModel(TeamAppearedInIssuesRepository.Get(id)));
 }
 public IPublisherAliasModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(PublisherAliasMapper.MapToModel(PublisherAliasesRepository.Get(key)));
 }
 public IPublisherAliasModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(PublisherAliasMapper.MapToModel(PublisherAliasesRepository.Get(id)));
 }
 public ICharacterMovieModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(CharacterMovieMapper.MapToModel(CharacterMoviesRepository.Get(id)));
 }
 public ICharacterVolumeModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(CharacterVolumeMapper.MapToModel(CharacterVolumesRepository.Get(key)));
 }
 public IOriginModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(OriginMapper.MapToModel(OriginsRepository.Get(key)));
 }
 public IPersonModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(PersonMapper.MapToModel(PeopleRepository.Get(key)));
 }
Пример #17
0
 public IEpisodeCharacterModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(EpisodeCharacterMapper.MapToModel(EpisodeCharactersRepository.Get(id)));
 }
Пример #18
0
 public IEpisodeLocationModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(EpisodeLocationMapper.MapToModel(EpisodeLocationsRepository.Get(id)));
 }
 public IObjectIssueModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(ObjectIssueMapper.MapToModel(ObjectIssuesRepository.Get(id)));
 }
 public IPersonModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(PersonMapper.MapToModel(PeopleRepository.Get(id)));
 }
Пример #21
0
 public IMovieObjectModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(MovieObjectMapper.MapToModel(MovieObjectsRepository.Get(id)));
 }
 public IEpisodeTeamFirstAppearanceModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(EpisodeTeamFirstAppearanceMapper.MapToModel(EpisodeTeamFirstAppearancesRepository.Get(key)));
 }
 public IEpisodeTeamFirstAppearanceModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(EpisodeTeamFirstAppearanceMapper.MapToModel(EpisodeTeamFirstAppearancesRepository.Get(id)));
 }
Пример #24
0
 public ITeamAppearedInIssueModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(TeamAppearedInIssueMapper.MapToModel(TeamAppearedInIssuesRepository.Get(key)));
 }
Пример #25
0
 public IMovieStoryArcModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(MovieStoryArcMapper.MapToModel(MovieStoryArcsRepository.Get(key)));
 }
 public IConceptIssueModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ConceptIssueMapper.MapToModel(ConceptIssuesRepository.Get(key)));
 }
 public IObjectMovieModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(ObjectMovieMapper.MapToModel(ObjectMoviesRepository.Get(key)));
 }
 public IOriginModel Get(int id)
 {
     BusinessWorkflowBase.ValidateRequiredID(id);
     return(OriginMapper.MapToModel(OriginsRepository.Get(id)));
 }
Пример #29
0
 public IEpisodeCharacterModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(EpisodeCharacterMapper.MapToModel(EpisodeCharactersRepository.Get(key)));
 }
 public IIssueWriterModel Get(string key)
 {
     BusinessWorkflowBase.ValidateRequiredKey(key);
     return(IssueWriterMapper.MapToModel(IssueWritersRepository.Get(key)));
 }