Refactor. Add data layer
This commit is contained in:
1 parent
3b7e4e6ec5
commit
b6b794f0b4
82 files changed
+2930
-2811
No files matched your search
@@ -0,0 +1,12 @@
|
||||
using BudgetApp.Data.Entities;
|
||||
|
||||
namespace BudgetApp.Data.Interfaces;
|
||||
|
||||
public interface ISalaryRepository
|
||||
{
|
||||
Task<List<Salary>> GetSalariesAsync(string userId);
|
||||
Task CreateSalaryAsync(Salary salary, DateTime windowEnd);
|
||||
Task DeleteSalaryAsync(int id, string userId);
|
||||
Task MaterializeSalaryTransactionsAsync(string userId, DateTime windowEnd);
|
||||
Task<DateTime?> GetNextPaydateAsync(int salaryId);
|
||||
}
|
||||
Reference in new issue
Block a user