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