2024-11-02 12:36:04 +04:00
|
|
|
|
using ProjectFamilyBudget.Entities;
|
2024-11-05 17:54:04 +04:00
|
|
|
|
using ProjectFamilyBudget.Entities.Enums;
|
2024-11-02 12:36:04 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ProjectFamilyBudget.Repositories.Implementations;
|
|
|
|
|
|
|
|
|
|
public class IncomeRepository : IIncome
|
|
|
|
|
{
|
|
|
|
|
public void CreateIncome(Income income)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void DeleteIncome(int id)
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<Income> ReadIncome()
|
|
|
|
|
{
|
|
|
|
|
return [];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public Income ReadIncomeById(int id)
|
|
|
|
|
{
|
2024-11-05 17:54:04 +04:00
|
|
|
|
return Income.CreateEntity(0, IncomeExpenseType.None, string.Empty, string.Empty);
|
2024-11-02 12:36:04 +04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void UpdateIncome(Income income)
|
|
|
|
|
{
|
2024-11-05 17:54:04 +04:00
|
|
|
|
throw new NotImplementedException();
|
2024-11-02 12:36:04 +04:00
|
|
|
|
}
|
|
|
|
|
}
|