public ActionResult Edit(Portfolio_Customer portfolio_Customer)
 {
     if (ModelState.IsValid)
     {
         db.Entry(portfolio_Customer).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(portfolio_Customer));
 }
 public ActionResult Edit([Bind(Include = "Id,C_Id,Type,FinishDate,Land,Housing,Office,Country,City,MinPrice,MaxPrice,MinArea,MaxArea,FloorChange,Transformation,Note")] Portfolio_CustomerRequest portfolio_CustomerRequest)
 {
     if (ModelState.IsValid)
     {
         db.Entry(portfolio_CustomerRequest).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(portfolio_CustomerRequest));
 }
 public ActionResult Edit([Bind(Include = "Id,Company_Name,Company_Website,Company_Title,Company_Phone1,Company_Phone2,Company_EMail,Company_Address,Owner_NameSurname,Owner_Title,Owner_EMail,Owner_Phone,Owner_Phone2")] Portfolio_Company portfolio_Company)
 {
     if (ModelState.IsValid)
     {
         db.Entry(portfolio_Company).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(portfolio_Company));
 }
 public ActionResult Edit( Portfolio_Banks portfolio_Banks)
 {
     if (ModelState.IsValid)
     {
         portfolio_Banks.UpdateDate = DateTime.Now;
         db.Entry(portfolio_Banks).State = EntityState.Modified;
         db.SaveChanges();
         return RedirectToAction("Index");
     }
     return View(portfolio_Banks);
 }