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(); }
public void UpdateBill(IBill bill, decimal insurance, string goods, string remarks) { ExceptionHelper.ThrowIfNull(bill, "bill"); bill.UpdateInfo(insurance, goods, remarks); _BillRepository.SaveChanges(); }