public ActionResult Delete(int id)
        {
            var cid = organizationManager.get(id).contactInfoId;

            organizationManager.delete(id);
            if (cid != null)
            {
                contactInfoManager.delete((int)cid);
            }
            return(RedirectToAction("Index"));
        }
 public ActionResult Delete(int id)
 {
     contactInfoManager.delete(id);
     return(RedirectToAction("Index"));
 }
 public ActionResult Delete(int id)
 {
     contactInfoManager.delete((int)clientManager.get(id).contactInfoId);
     clientManager.delete(id);
     return(RedirectToAction("Index"));
 }