public ActionResult Delete(int id, social handles)
 {
     try
     {
         using (var db = new SDES_DirectoryEntities())
         {
             var handle = db.socials.Find(id);
             db.Entry(handle).State = EntityState.Deleted;
             db.SaveChanges();
             return RedirectToAction("Details", "office", new { id = handle.officeId });
         }
     }
     catch
     {
         return View();
     }
 }
        public ActionResult Edit(int id, social handle)
        {
            try
            {
                using (var db = new SDES_DirectoryEntities())
                {
                    db.Entry(handle).State = EntityState.Modified;
                    db.SaveChanges();
                }

                return RedirectToAction("Details", "office", new { id = handle.officeId });
            }
            catch
            {
                return View();
            }
        }
        public ActionResult Create(social handle)
        {
            try
            {
                using (var db = new SDES_DirectoryEntities())
                {
                    db.socials.Add(handle);
                    db.SaveChanges();
                }

                return RedirectToAction("Details", "office", new { id = handle.officeId });
            }
            catch
            {
                return View();
            }
        }