23 lines
754 B
C#
23 lines
754 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using TravelAgencyCompanyContracts.BindingModels;
|
|
using TravelAgencyCompanyContracts.SearchModel;
|
|
using TravelAgencyCompanyContracts.ViewModel;
|
|
|
|
namespace TravelAgencyCompanyContracts.StoragesContracts
|
|
{
|
|
public interface ICustomerStorage
|
|
{
|
|
List<CustomerViewModel> GetFullList();
|
|
List<CustomerViewModel> GetFilteredList(CustomerSearchModel model);
|
|
CustomerViewModel? GetElement(CustomerSearchModel model);
|
|
CustomerViewModel? Insert(CustomerBindingModel model);
|
|
CustomerViewModel? Update(CustomerBindingModel model);
|
|
CustomerViewModel? Delete(CustomerBindingModel model);
|
|
|
|
}
|
|
}
|