Exemplo n.º 1
0
        private SendNotificationVM sendNotification(UserProfileInfo user, List <Notification> notifs)
        {
            SendNotificationVM result = new SendNotificationVM();

            result.User          = user;
            result.Notifications = notifs.Where(n => n.UserId == user.Id).ToList();
            return(result);
        }
Exemplo n.º 2
0
 private SendNotificationVM sendNotification(UserProfileInfo user, List<Notification> notifs)
 {
     SendNotificationVM result = new SendNotificationVM();
     result.User = user;
     result.Notifications = notifs.Where(n => n.UserId == user.Id).ToList();
     return result;
 }