Esempio n. 1
0
 private void Edit(Guid consignmentId, Guid supplierId)
 {
     try
     {
         _consignmentForEdit = _consignmentService.Edit(consignmentId, supplierId);
     }
     catch (DomainValidationException dex)
     {
         _domainValidationException = dex;
     }
 }
Esempio n. 2
0
 public ActionResult Edit(ConsignmentEditViewModel viewmodel)
 {
     _consignmentService.Edit(viewmodel.Id, viewmodel.SupplierId);
     return(RedirectToAction("ActiveConsignments", "Consignment"));
 }