示例#1
0
        private void Save(Requisicao requisicao, Resposta resposta = null)
        {
            var entity = MapperToEntity(requisicao, resposta);

            _entities.BradescoIntegration.Add(entity);
            _entities.SaveChanges();
        }
示例#2
0
 /// <summary>
 /// Saves all changes make to the unit of work context in a single transaction.
 /// </summary>
 public void Commit()
 {
     _db.SaveChanges();
 }