Пример #1
0
 public ActionResult Delete(int id)
 {
     MobileRespository.Delete(id);
     return(RedirectToAction("MobileDetails"));
 }
Пример #2
0
 public void Delete(int id)
 {
     mobileRespository.Delete(id);
 }