PIAPS_CW/Contracts/StorageContracts/IPurchaseStorage.cs

26 lines
693 B
C#
Raw Normal View History

2024-06-11 12:18:10 +04:00
using Contracts.BindingModels;
using Contracts.SearchModels;
using Contracts.ViewModels;
2024-06-11 12:18:10 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.StorageContracts
{
public interface IPurchaseStorage
{
PurchaseViewModel? Insert(PurchaseBindingModel model);
2024-06-11 12:18:10 +04:00
List<PurchaseViewModel> GetFullList(PurchaseSearchModel? model);
List<PurchaseViewModel> GetFilteredList(PurchaseSearchModel? model);
2024-06-11 12:18:10 +04:00
PurchaseViewModel? GetElement(PurchaseSearchModel model);
2024-06-11 12:18:10 +04:00
PurchaseViewModel? Update(PurchaseBindingModel model);
2024-06-11 12:18:10 +04:00
PurchaseViewModel? Delete(PurchaseSearchModel model);
2024-06-11 12:18:10 +04:00
}
}