SUBD_Aleikin/Restaurant/RestaurantContracts/StoragesContracts/IProviderStorage.cs

22 lines
719 B
C#
Raw Permalink Normal View History

using RestaurantContracts.BindingModels;
using RestaurantContracts.SearchModels;
using RestaurantContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RestaurantContracts.StoragesContracts
{
public interface IProviderStorage
{
List<ProviderViewModel> GetFullList();
List<ProviderViewModel> GetFilteredList(ProviderSearchModel model);
ProviderViewModel? GetElement(ProviderSearchModel model);
ProviderViewModel? Insert(ProviderBindingModel model);
ProviderViewModel? Update(ProviderBindingModel model);
ProviderViewModel? Delete(ProviderBindingModel model);
}
}