Exemplo n.º 1
0
        public ActionResult VideoCategoryInsert(FormCollection collection)
        {
            VideoCategory d = new VideoCategory();

            d.CategoryName = collection["CategoryName"];

            d.insert();
            return(RedirectToAction("VideoCategoryList"));
        }