// GET: Addresses/Details/5
 public ActionResult Details(int?id)
 {
     try
     {
         if (id == null)
         {
             return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
         }
         Address address = _addressManager.FindById((int)id);
         if (address == null)
         {
             return(HttpNotFound());
         }
         return(View(address));
     }
     catch (Exception ex)
     {
         return(View("Error", new HandleErrorInfo(ex, "Addresses", "Details")));
     }
 }