22 lines
719 B
C#
22 lines
719 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|