Пример #1
0
        public PartialViewResult LoadTablePartial()
        {
            string userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;
            IEnumerable <ProjectModel> projects = projectDao.GetProjectsByUserId(userId);

            return(PartialView("~/Views/Dashboard/Partials/TablePartial.cshtml", projects));
        }