Example #1
0
 public virtual async Task <int> SaveChanges()
 {
     return(await Db.SaveChangesAsync());
 }
Example #2
0
        public async Task <bool> Commit()
        {
            var result = await _dbContext.SaveChangesAsync();

            return(await Task.FromResult(result > 0));
        }