PIAPS_CW/Contracts/StorageContracts/ISellStorage.cs

26 lines
655 B
C#
Raw Normal View History

2024-06-11 12:18:10 +04:00
using Contracts.BindingModels;
using Contracts.SearchModels;
2024-06-23 20:39:28 +04:00
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 ISellStorage
{
2024-06-23 20:39:28 +04:00
SellViewModel? Insert(SellBindingModel model);
2024-06-11 12:18:10 +04:00
2024-06-23 20:39:28 +04:00
IEnumerable<SellViewModel> GetFullList(SellSearchModel? model);
IEnumerable<SellViewModel> GetFilteredList(SellSearchModel? model);
2024-06-11 12:18:10 +04:00
2024-06-23 20:39:28 +04:00
SellViewModel? GetElement(SellSearchModel model);
2024-06-11 12:18:10 +04:00
2024-06-23 20:39:28 +04:00
SellViewModel? Update(SellBindingModel model);
2024-06-11 12:18:10 +04:00
2024-06-23 20:39:28 +04:00
SellViewModel? Delete(SellSearchModel model);
2024-06-11 12:18:10 +04:00
}
}