public PartialViewResult Index() { var model = new NotificationVm { MentorshipCnt = _mentorSrv.NewItemsCount, ConnectReqCnt = _connectSrv.GetNewConnectReq().Count, MessagesCnt = _msgSrv.NewItemsCount, DiscussionCnt = _discussionSrv.NewItemsCount, EventsCnt = _evetnSrv.NewItemsCount, }; return(PartialView(model)); }
public PartialViewResult Connect() { var connect = new ConnectService(); return(PartialView(connect.GetNewConnectReq())); }