예제 #1
0
        public static void NonEmployeeProcessed(object sender, UserEventArgs e)
        {
            User user = e.User;

            if (user.UserStatus == UserStatus.Rejected)
            {
                NotifyUser.NonEmployeeRejected(user);
            }
            else
            {
                NotifyUser.SendEmailConfirmation(user);
            }
        }
예제 #2
0
 public static void PasswordResetRequested(object sender, UserEventArgs e)
 {
     NotifyUser.SendNewPassword(e.User);
 }
예제 #3
0
 public static void PreApprovedUserCreated(object sender, UserEventArgs e)
 {
     NotifyUser.SendEmailConfirmation(e.User);
 }
예제 #4
0
 public static void NonEmployeeReactivated(object sender, UserEventArgs e)
 {
     NotifyUser.NonEmployeeReactivated(e.User);
 }
예제 #5
0
 /// <summary>
 /// Sends the asset feedback.
 /// </summary>
 /// <param name="asset">The asset for which feedback is being sent.</param>
 /// <param name="user">The user who is sending the feedback.</param>
 /// <param name="feedback">The feedback sent by the user</param>
 public static void SendAssetFeedback(Asset asset, User user, string feedback)
 {
     NotifyAdmin.SendAssetFeedback(asset, user, feedback);
     NotifyUser.SendAssetFeedback(asset, user, feedback);
 }
예제 #6
0
 public static void UserCreatedByAdmin(object sender, UserEventArgs e)
 {
     NotifyUser.UserCreatedByAdmin(e.User);
 }
예제 #7
0
 public static void NewAdminOrderItemComment(object o, OrderItemCommentEventArgs e)
 {
     NotifyUser.NewOrderItemComment(e.Order, e.OrderItemComment);
 }
예제 #8
0
 public static void OrderItemsProcessed(object o, OrderItemEventArgs e)
 {
     NotifyUser.OrderItemsProcessed(e.Order, e.ProcessedOrderItems);
 }
예제 #9
0
 public static void OrderCompleted(object o, OrderEventArgs e)
 {
     NotifyUser.OrderCompleted(e.Order);
 }
예제 #10
0
 public static void LightboxSentToUser(object sender, LightboxSentEventArgs e)
 {
     NotifyUser.LightboxSentToUser(e.LightboxSent);
 }
예제 #11
0
 public static void SendReactivateAccountMessage(User user)
 {
     NotifyUser.SendReactivateAccountMessage(user);
 }