Example #1
0
        private void OnLogRegister(object obj, CadastrarFuncionarioEventArgs args)
        {
            Console.WriteLine($"--- Log Register ---\n" +
                              $"\tObj: {args.Event}\n");

            Thread.Sleep(2000);
        }
Example #2
0
        private void OnSendEmail(object obj, CadastrarFuncionarioEventArgs args)
        {
            Console.WriteLine($"--- Sending Email---\n" +
                              $"\tObj: {args.Event}\n");

            Thread.Sleep(2000);
        }