private async Task <int> SaveChanges()
 {
     return(await _dbContext.SaveChangesAsync());
 }
Example #2
0
        public async Task <int> SaveAsync()
        {
            AffectedRows = await _dbContext.SaveChangesAsync();

            return(AffectedRows);
        }