private void Save(Requisicao requisicao, Resposta resposta = null) { var entity = MapperToEntity(requisicao, resposta); _entities.BradescoIntegration.Add(entity); _entities.SaveChanges(); }
/// <summary> /// Saves all changes make to the unit of work context in a single transaction. /// </summary> public void Commit() { _db.SaveChanges(); }