public async Task UpdateCommentAsync(Comment comment) { _dbContext.Entry(comment).State = EntityState.Modified; await _dbContext.SaveChangesAsync(); }
public async Task UpdateFunctionAsync(Function function) { _dbContext.Entry(function).State = EntityState.Modified; await _dbContext.SaveChangesAsync(); }
public async Task UpdateGroupAsync(Group group) { _dbContext.Entry(group).State = EntityState.Modified; await _dbContext.SaveChangesAsync(); }
public async Task AssignAccountAsync(Account account) { _dbContext.Entry(account).State = EntityState.Modified; await _dbContext.SaveChangesAsync(); }
public async Task UpdateCampaignAsync(Campaign campaign) { _dbContext.Entry(campaign).State = EntityState.Modified; await _dbContext.SaveChangesAsync(); }