2024-06-22 11:01:06 +04:00
|
|
|
|
using Contracts.BindingModels;
|
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
|
using Contracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.StorageContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ISupplyStorage
|
|
|
|
|
{
|
|
|
|
|
List<SupplyViewModel> GetFullList();
|
|
|
|
|
List<SupplyViewModel> GetFilteredList(SupplySearchModel model);
|
|
|
|
|
SupplyViewModel? GetElement(SupplySearchModel model);
|
2024-06-23 23:07:41 +04:00
|
|
|
|
bool? Insert(SupplyBindingModel model);
|
2024-06-23 22:18:51 +04:00
|
|
|
|
bool? Update(SupplyBindingModel model);
|
2024-06-22 11:01:06 +04:00
|
|
|
|
SupplyViewModel? Delete(SupplyBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|