domBudg/back/Contracts/Repositories/ISpendingPlanRepo.cs

13 lines
448 B
C#
Raw Normal View History

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);
}