public static void NonEmployeeProcessed(object sender, UserEventArgs e) { User user = e.User; if (user.UserStatus == UserStatus.Rejected) { NotifyUser.NonEmployeeRejected(user); } else { NotifyUser.SendEmailConfirmation(user); } }
public static void PreApprovedUserCreated(object sender, UserEventArgs e) { NotifyUser.SendEmailConfirmation(e.User); }