AccountingNext/Schaad.Accounting.Common/Interfaces/IWaterBillRepository.cs
Claudio Schaad 1e9e19ebad Add "Wasser" page for the water bills
Same layout as the Strom page: grid and dialog for the bills (warm and
cold water in m3 and CHF, base costs; total m3 and CHF are computed),
stored per mandator in water.json, and charts for consumption and total
costs with the period toggle (bill, calendar year, half-year).

The period grouping is now generic: ElectricityPeriod becomes
BillPeriod<T> over IPeriodBill<T>, implemented by ElectricityBill and
WaterBill. water.json can be edited in the JSON editor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:56:18 +01:00

17 lines
401 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Schaad.Accounting.Models;
namespace Schaad.Accounting.Interfaces
{
public interface IWaterBillRepository
{
Task<List<WaterBill>> GetWaterBillListAsync();
Task SaveWaterBillAsync(WaterBill bill);
Task<WaterBill> GetWaterBillAsync(string id);
Task DeleteWaterBillAsync(string id);
}
}