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