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