public async Task <ActionResult> NotificationsCount() { var userId = User.Identity.GetUserId(); var notificationsCount = await _notificationsManager.GetNotificationsCount(userId); return(Json(notificationsCount, JsonRequestBehavior.AllowGet)); }
public async Task <ActionResult> NotificationsCount() { var userId = User.Identity.GetUserId(); var notificationsCount = await _notificationsManager.GetNotificationsCount(userId); return(Json(notificationsCount, JsonRequestBehavior.AllowGet)); }