public ActionResult Edit(AgreementViewModel agreementViewModel) { if (ModelState.IsValid) { _agreementService.UpdateAgreement(_mapperToBysinessModel.Map(agreementViewModel)); } else { return(View(agreementViewModel)); } return(RedirectToAction(nameof(AgreementManager))); }