public PartialViewResult _RenderTaskList() { if (User.IsInRole("admin") || User.IsInRole("manager")) { return(PartialView(taskService.AllTasksShortInfo().Reverse())); } else { return(PartialView(taskService.GetUserTasks(User.Identity.Name))); } }