Exemplo n.º 1
0
        public ActionResult Delete(int id)
        {
            var CategoryProcess = new Process.CategoryProcess();
            var categoria       = CategoryProcess.SelectOne(id);

            return(View(categoria));
        }
Exemplo n.º 2
0
        // GET Edit/{id}
        public ActionResult Edit(int id)
        {
            var categoryprocess = new Process.CategoryProcess();
            var cat             = categoryprocess.SelectOne(id);

            return(View(cat));
        }
Exemplo n.º 3
0
        public ActionResult Details(int id)
        {
            var category        = new Category();
            var CategoryProcess = new Process.CategoryProcess();

            category = CategoryProcess.SelectOne(id);
            return(View(category));
        }