示例#1
0
        public ActionResult Delete(Guid Id)
        {
            if (Id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }
            ContactInfo contactInfo = _contactInfoService.GetDeleteContact(Id);

            if (contactInfo == null)
            {
                return(HttpNotFound());
            }
            return(View(contactInfo));
        }