Ejemplo n.º 1
0
        public ActionResult UserDashboard(string id)
        {
            ProjectHelper projectHelper = new ProjectHelper();
            TicketHelper  ticketHelper  = new TicketHelper();

            var UserDashboard = new UserDashboardVM()
            {
                User            = db.Users.Find(id),
                NotUserProjects = projectHelper.ListNotUserProjects(id),
                NotUserTickets  = ticketHelper.ListNotUserTickets(id)
            };

            return(View(UserDashboard));
        }