Exemple #1
0
        public ActionResult <UserNotification> GetUserNotification(int userId)
        {
            var userNotification = _userNotificationService.GetByUserId(userId);

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

            return(userNotification);
        }