// GET: Category/Delete/5
        public ActionResult Delete(int id)
        {
            CategoryDal ct       = new CategoryDal();
            var         category = ct.CategoryDetail(id);

            return(View(category));
        }
        // GET: Category/Details/5
        public ActionResult Details(int id)
        {
            CategoryDal pd       = new CategoryDal();
            var         category = pd.CategoryDetail(id);

            return(View(category));
        }