Пример #1
0
        public async Task AddAsync(Blacklist blacklistedId)
        {
            await _dbContext.Blacklists.AddAsync(blacklistedId);

            await _dbContext.SaveChangesAsync();
        }
Пример #2
0
        public async Task AddAsync(Domain.Entities.AnimeSeason season)
        {
            await _dbContext.AnimeSeasons.AddAsync(season);

            await _dbContext.SaveChangesAsync();
        }
Пример #3
0
        public async Task AddAsync(Seiyuu seiyuu)
        {
            await _dbContext.Seiyuus.AddAsync(seiyuu);

            await _dbContext.SaveChangesAsync();
        }
Пример #4
0
        public async Task AddAsync(AnimeRole role)
        {
            await _dbContext.AnimeRoles.AddAsync(role);

            await _dbContext.SaveChangesAsync();
        }
Пример #5
0
        public async Task AddAsync(AnimeCharacter character)
        {
            await _dbContext.AddAsync(character);

            await _dbContext.SaveChangesAsync();
        }
Пример #6
0
        public async Task AddAsync(Anime anime)
        {
            await _dbContext.AddAsync(anime);

            await _dbContext.SaveChangesAsync();
        }