示例#1
0
        public async Task <ActionResult> GetNotification()
        {
            var notifications = await UserNotificationReader.GetUserNotifications(User.Identity.GetUserId());

            return(PartialView("_Notification", new UserNotificationModel
            {
                Notifications = new List <UserNotificationItemModel>(notifications)
            }));
        }