13 lines
448 B
C#
13 lines
448 B
C#
|
using Contracts.DTO;
|
||
|
using Contracts.SearchModels;
|
||
|
|
||
|
namespace Contracts.Repositories;
|
||
|
|
||
|
public interface ISpendingPlanRepo
|
||
|
{
|
||
|
Task<SpendingPlanDto> Create(SpendingPlanDto dto);
|
||
|
Task<SpendingPlanDto?> Update(SpendingPlanDto dto);
|
||
|
Task<SpendingPlanDto?> Delete(SpendingPlanSearch search);
|
||
|
Task<SpendingPlanDto?> GetDetails(SpendingPlanSearch search);
|
||
|
Task<IEnumerable<SpendingPlanDto>> GetList(SpendingGroupSearch? search = null);
|
||
|
}
|