Exemplo n.º 1
0
        public UserNotification GetUserNotification(int?tenantId, Guid userNotificationId)
        {
            var userNotification = _store.GetUserNotificationWithNotificationOrNull(tenantId, userNotificationId);

            if (userNotification == null)
            {
                return(null);
            }

            return(userNotification.ToUserNotification());
        }