12 lines
437 B
C#
12 lines
437 B
C#
using ROLAC.API.DTOs.Expense;
|
|
namespace ROLAC.API.Services;
|
|
|
|
public interface IExpenseSnapshotService
|
|
{
|
|
Task<List<ExpenseSnapshotDto>> GetAllAsync();
|
|
Task<ExpenseSnapshotDto?> GetByIdAsync(int id);
|
|
Task<int> CreateAsync(CreateExpenseSnapshotRequest r);
|
|
Task UpdateAsync(int id, UpdateExpenseSnapshotRequest r);
|
|
Task DeleteAsync(int id);
|
|
}
|