示例#1
0
 public async Task UpdateCommentAsync(Comment comment)
 {
     _dbContext.Entry(comment).State = EntityState.Modified;
     await _dbContext.SaveChangesAsync();
 }
示例#2
0
 public async Task UpdateFunctionAsync(Function function)
 {
     _dbContext.Entry(function).State = EntityState.Modified;
     await _dbContext.SaveChangesAsync();
 }
示例#3
0
 public async Task UpdateGroupAsync(Group group)
 {
     _dbContext.Entry(group).State = EntityState.Modified;
     await _dbContext.SaveChangesAsync();
 }
示例#4
0
 public async Task AssignAccountAsync(Account account)
 {
     _dbContext.Entry(account).State = EntityState.Modified;
     await _dbContext.SaveChangesAsync();
 }
示例#5
0
 public async Task UpdateCampaignAsync(Campaign campaign)
 {
     _dbContext.Entry(campaign).State = EntityState.Modified;
     await _dbContext.SaveChangesAsync();
 }