public void AddBill(int memberId, Bill bill) { bill.UpdateDate = DateTime.Now; MemberResources member = Get(memberId); member.Bills.Add(bill); service.UpdateAndSave(member); }
private void Update(MemberResources member) { service.UpdateAndSave(member); }