Пример #1
0
        public ActionResult Item(string param1)
        {
            Post post = Dm.GetItem(param1);

            Category category = new Category();

            category.Name = "projects";

            ViewData["Post"]     = post;
            ViewData["Category"] = category;

            return(View(Dm));
        }