Пример #1
0
 public ActionResult Create(TopicClass t)
 {
     if (ModelState.IsValid)
     {
         TopicList tList = new TopicList();
         tList.AddTopic(t);
         return(RedirectToAction("Index"));
     }
     return(View());
 }