예제 #1
0
 public void UpdateBill(IBill bill, ContactInfo sender, ContactInfoWithAddress receiver, decimal insurance, string goods, string remarks)
 {
     ExceptionHelper.ThrowIfNull(bill, "bill");
     bill.UpdateInfo(sender, receiver);
     bill.UpdateInfo(insurance, goods, remarks);
     _BillRepository.SaveChanges();
 }
예제 #2
0
 public void UpdateBill(IBill bill, decimal insurance, string goods, string remarks)
 {
     ExceptionHelper.ThrowIfNull(bill, "bill");
     bill.UpdateInfo(insurance, goods, remarks);
     _BillRepository.SaveChanges();
 }