2024-11-27 01:46:33 +04:00
|
|
|
using Contracts.DTO;
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
|
|
|
namespace Contracts.Services;
|
|
|
|
|
2024-11-27 02:13:01 +04:00
|
|
|
public interface ISpendingPlanService
|
2024-11-27 01:46:33 +04:00
|
|
|
{
|
2024-11-27 02:20:17 +04:00
|
|
|
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);
|
2024-11-27 01:46:33 +04:00
|
|
|
}
|