2024-11-25 23:46:53 +04:00
|
|
|
using Contracts.DTO;
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
|
|
|
namespace Contracts.Services;
|
|
|
|
|
|
|
|
public interface ISpendingGroupService
|
|
|
|
{
|
|
|
|
Task<SpendingGroupViewModel> GetDetails(SpendingGroupSearch search);
|
2024-11-26 00:33:48 +04:00
|
|
|
Task<IEnumerable<SpendingGroupViewModel>> GetList(SpendingGroupSearch? search = null);
|
2024-11-25 23:46:53 +04:00
|
|
|
Task<SpendingGroupViewModel> Create(SpendingGroupDto model);
|
|
|
|
Task<SpendingGroupViewModel> Update(SpendingGroupDto model);
|
|
|
|
Task<SpendingGroupViewModel> Delete(SpendingGroupSearch search);
|
|
|
|
}
|