Пример #1
0
        public ProjectsController(PortfolioContext ent, PortfolioManager manager)
            : base(ent, manager)
        {
            devModel = new ProjectModel()
            {
                PageTitle = "Development Samples",
                SubTitle = "Over the years I've had the priviledge of working for numerous companies.",
                Description = "I've worked on varying types of .NET projects. From SaaS applications, to internal web applications, to public facing websites. ",
                SubDescription = "Here are a few personal projects along with some from my professional career.",
                Note = "Note: due to the nature of some projects, I'm unable to show examples of some of my most recent positions."
            };

            funModel = new ProjectModel()
            {
                PageTitle = "Just for Fun",
                SubTitle = "I have to admit, most of my free time is spent away from the computer.",
                Description = "However, there have been a few projects that I'm particularly fond of that I would love to share.",
                SubDescription = "Here are a few of those fun projects. "
            };
        }
Пример #2
0
 public HomeController(PortfolioContext ent, PortfolioManager manager)
     : base(ent, manager)
 {
 }
Пример #3
0
 public BaseController(PortfolioContext ent, PortfolioManager manager)
 {
     _ent = ent;
     _manager = manager;
     ViewBag.Categories = _manager.GetCategories();
 }