public ActionResult Edit(int id)
{
// Attempt to get the object with the matching identifier
ManufacturerBase fetchedObject = m.GetManufacturerById(id);
if (fetchedObject == null)
{
return RedirectToAction("index");
}
else
{
return View(fetchedObject);
}
}