public async Task <Genre> InsertAsync(Genre genre)
        {
            await entity.AddAsync(genre);

            await context.SaveChangesAsync();

            return(genre);
        }
Beispiel #2
0
        public async Task <UserProfileCommentPermission> InsertAsync(UserProfileCommentPermission userProfileCommentPermission)
        {
            await entity.AddAsync(userProfileCommentPermission);

            await context.SaveChangesAsync();

            return(userProfileCommentPermission);
        }
        public async Task <NewsArticleCategory> InsertAsync(NewsArticleCategory newsArticleCategory)
        {
            await entity.AddAsync(newsArticleCategory);

            await context.SaveChangesAsync();

            return(newsArticleCategory);
        }
        public async Task <UserProfileVisibility> InsertAsync(UserProfileVisibility userProfileVisibility)
        {
            await entity.AddAsync(userProfileVisibility);

            await context.SaveChangesAsync();

            return(userProfileVisibility);
        }
        public async Task <UserProfileComment> InsertAsync(UserProfileComment userProfileComment)
        {
            await entity.AddAsync(userProfileComment);

            await context.SaveChangesAsync();

            return(userProfileComment);
        }
Beispiel #6
0
        public async Task InsertAsync(UserStatus userStatus)
        {
            await entity.AddAsync(userStatus);

            await context.SaveChangesAsync();
        }
Beispiel #7
0
 public async Task UpdateAsync(Platform platform)
 {
     entity.Update(platform);
     await context.SaveChangesAsync();
 }
Beispiel #8
0
 public async Task InsertAsync(Publisher publisher)
 {
     entity.Add(publisher);
     await context.SaveChangesAsync();
 }
Beispiel #9
0
        public async Task InsertAsync(UserRole userRole)
        {
            await entity.AddAsync(userRole);

            await context.SaveChangesAsync();
        }
Beispiel #10
0
        public async Task InsertAsync(T item)
        {
            await entity.AddAsync(item);

            await context.SaveChangesAsync();
        }
Beispiel #11
0
 public async Task InsertAsync(Game game)
 {
     entity.Add(game);
     await context.SaveChangesAsync();
 }