public async Task <ActionResult> Index() { var userId = User.Identity.GetUserId(); var notifications = await _notificationsManager.GetAllUserNotifications(userId, 0, 14); await _notificationsManager.MarkAllAsSeen(userId); return(View(notifications)); }