2024-04-28 21:24:09 +04:00

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);
}
}