public void SendLetter(string context, string address)
 {
     letterProcess.WriteContext(context);
     letterProcess.FillEnvelope(address);
     police.CheckLetter(letterProcess);
     letterProcess.LetterIntoEnvelope();
     letterProcess.SendLetter();
 }
Example #2
0
        public void SendLetter(string context, string address)
        {
            _process.WriteContext(context);
            _process.FillEnvelope(address);

            _inspector.Check();


            _process.PutLetterIntoEnvelope();
            _process.SendLetter();
        }