예제 #1
0
        public async Task <int> CommitAsync()
        {
            try
            {
                return(await _context.SaveChangesAsync());
            }
            catch (Exception ex)
            {
                var toto = ex;

                throw;
            }
        }
예제 #2
0
 public async Task<int> CommitAsync()
 {
     return await _Context.SaveChangesAsync();
 }