18 lines
422 B
C#
18 lines
422 B
C#
|
using ProjectFamilyBudget.Entities;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ProjectFamilyBudget.Repositories;
|
|||
|
|
|||
|
public interface IExpense
|
|||
|
{
|
|||
|
IEnumerable<Expense> ReadExpense();
|
|||
|
Expense ReadExpenseById(int id);
|
|||
|
void CreateExpense(Expense expense);
|
|||
|
void UpdateExpense(Expense expense);
|
|||
|
void DeleteExpense(int id);
|
|||
|
}
|