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