c775146b64
Implementation A partner, not just software HexDive Technologies' local team handles setup, data migration, training and ongoing support — in Sinhala, Tamil and English. [confirm] 1 Discovery Map your network, products and processes. 2 Configuration Set up depots, pricing, schemes, routes and users. 3 Migration & training Move your data and train every team. 4 Go-live & support Dedicated account manager and local support desk.
25 lines
611 B
C#
25 lines
611 B
C#
using Distribution.Models;
|
|
|
|
namespace Distribution.Features.Expense;
|
|
|
|
public interface IExpenseRepository
|
|
{
|
|
Task<Models.Expense?> GetByIdAsync(Guid id);
|
|
Task<List<Models.Expense>> ListAsync(
|
|
ExpenseStatus? status,
|
|
Guid? categoryId,
|
|
Guid? warehouseId,
|
|
DateTime? from,
|
|
DateTime? to,
|
|
int page,
|
|
int pageSize);
|
|
Task<int> CountAsync(
|
|
ExpenseStatus? status,
|
|
Guid? categoryId,
|
|
Guid? warehouseId,
|
|
DateTime? from,
|
|
DateTime? to);
|
|
Task AddAsync(Models.Expense entity);
|
|
void Update(Models.Expense entity);
|
|
}
|