domBudg/back/Contracts/Services/ISpendingPlanService.cs

14 lines
519 B
C#

using Contracts.DTO;
using Contracts.SearchModels;
using Contracts.ViewModels;
namespace Contracts.Services;
public interface ISpendingPlanService
{
Task<SpendingPlanViewModel> GetDetails(SpendingPlanSearch search);
Task<IEnumerable<SpendingPlanViewModel>> GetList(SpendingPlanSearch? search = null);
Task<SpendingPlanViewModel> Create(SpendingPlanDto spendingPlan);
Task<SpendingPlanViewModel> Delete(SpendingPlanSearch search);
Task<SpendingPlanViewModel> Update(SpendingPlanDto spendingPlan);
}