Esempio n. 1
0
        public ActionResult Delete(int id)
        {
            bool success = _itemRepo.Delete(id);

            return(RedirectToAction("Index"));
        }
 public bool Delete(int Id)
 {
     return(itemRepo.Delete(Id));
 }