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); }
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; }