public ActionResult AddOther(Partner partner)
 {
     //if(dbContext.Persons.co)
     dbContext.Persons.Add(partner);
     dbContext.SaveChanges();
     int id = partner.IDPerson;
     return Json(id, JsonRequestBehavior.AllowGet);
 }
 public bool Update(Partner partner)
 {
     if (ModelState.IsValid)
     {
         //var emp = dbContext.Employees.Where(e => e.ID == Id).SingleOrDefault();
         dbContext.Entry(partner).State = EntityState.Modified;
         dbContext.SaveChanges();
         return true;
     }
     return false;
 }
 public void Create(Partner partner)
 {
     dbContext.Persons.Add(partner);
     dbContext.SaveChanges();
 }