public ActionResult AddressDetails(string id) { Guid addressId = Guid.Empty; if (Guid.TryParse(id, out addressId)) { return(View(addressServices.GetAddressDetails(addressId))); } return(HttpNotFound()); }