Beispiel #1
0
        public void UpdateBill(BillDto billDto)
        {
            var bill = billRepository.GetBy(billDto.Id);

            billDto.MappingBill(bill);
            billRepository.Update(bill);
        }
Beispiel #2
0
        public void CreateBill(BillDto billDto)
        {
            var bill = billDto.MappingBill();

            billRepository.Add(bill);
        }