domBudg/back/Contracts/Services/ISpendingPlanService.cs

14 lines
494 B
C#
Raw Normal View History

using Contracts.DTO;
using Contracts.SearchModels;
using Contracts.ViewModels;
namespace Contracts.Services;
public interface ISpendingPlanService
{
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);
}