public ActionResult Delete(int id)
 {
     MobileRespository.Delete(id);
     return(RedirectToAction("MobileDetails"));
 }
Exemple #2
0
 public void Delete(int id)
 {
     mobileRespository.Delete(id);
 }