public void Edit(Guid id, string orderNo, string adviceNo, Guid currencyId) { try { _quoteForEdit = _quoteService.Edit(id, orderNo, adviceNo, currencyId); } catch (DomainValidationException dex) { _domainValidationException = dex; } }
public ActionResult Edit(QuoteEditViewModel viewmodel) { _quoteService.Edit(viewmodel.Id, viewmodel.OrderNo, viewmodel.AdviceNo, viewmodel.CurrencyId); return(RedirectToAction("ApprovedQuotes")); }