feat(expense-snapshot): snapshot service with creator-name resolution + tests
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user