public ActionResult Edit([Bind(Include = "Id,CustomerId,DateChekIn,DateCheckOut,AmountPeopleAdult,AmountPeopleChild,AmountChalets,ValueAdult,ValueChild,ValueTotal,Obs")] Accommodation accommodation) { if (ModelState.IsValid) { service.CalculateValueTotal(accommodation); service.Update(accommodation); return(RedirectToAction("Index")); } return(View(accommodation)); }