public async Task <Genre> InsertAsync(Genre genre) { await entity.AddAsync(genre); await context.SaveChangesAsync(); return(genre); }
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); }
public async Task InsertAsync(UserStatus userStatus) { await entity.AddAsync(userStatus); await context.SaveChangesAsync(); }
public async Task UpdateAsync(Platform platform) { entity.Update(platform); await context.SaveChangesAsync(); }
public async Task InsertAsync(Publisher publisher) { entity.Add(publisher); await context.SaveChangesAsync(); }
public async Task InsertAsync(UserRole userRole) { await entity.AddAsync(userRole); await context.SaveChangesAsync(); }
public async Task InsertAsync(T item) { await entity.AddAsync(item); await context.SaveChangesAsync(); }
public async Task InsertAsync(Game game) { entity.Add(game); await context.SaveChangesAsync(); }