public PartialViewResult LoadTablePartial() { string userId = User.FindFirst(ClaimTypes.NameIdentifier).Value; IEnumerable <ProjectModel> projects = projectDao.GetProjectsByUserId(userId); return(PartialView("~/Views/Dashboard/Partials/TablePartial.cshtml", projects)); }