14 lines
489 B
C#
14 lines
489 B
C#
|
using Contracts.DTO;
|
||
|
using Contracts.SearchModels;
|
||
|
using Contracts.ViewModels;
|
||
|
|
||
|
namespace Contracts.Services;
|
||
|
|
||
|
public interface ISpendingPlan
|
||
|
{
|
||
|
Task<SpendingPlanView?> GetDetails(SpendingPlanSearch search);
|
||
|
Task<IEnumerable<SpendingPlanView>> GetList(SpendingPlanSearch? search = null);
|
||
|
Task<SpendingPlanView> Create(SpendingPlanDto spendingPlan);
|
||
|
Task<SpendingPlanView?> Delete(SpendingPlanSearch search);
|
||
|
Task<SpendingPlanView> Update(SpendingPlanDto spendingPlan);
|
||
|
}
|