COP-17/WinFormsProject/Contracts/StorageContracts/IProviderStorage.cs

22 lines
678 B
C#
Raw Normal View History

2023-11-15 22:51:44 +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 IProviderStorage
{
List<ProviderViewModel> GetFullList();
ProviderViewModel? GetElement(ProviderSearchModel model);
List<ProviderViewModel> GetFilteredList(ProviderSearchModel model);
ProviderViewModel? Insert(ProviderBindingModel model);
ProviderViewModel? Update(ProviderBindingModel model);
ProviderViewModel? Delete(ProviderBindingModel model);
}
}