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