public ActionResult Edit(Guid Id) { if (Id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } ContactInfo contactInfo = _contactInfoService.GetEditContact(Id); if (contactInfo == null) { return(HttpNotFound()); } return(View(contactInfo)); }