21 lines
664 B
C#
21 lines
664 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.BusinessLogicsContracts
|
|
{
|
|
public interface ICustomerLogic
|
|
{
|
|
List<CustomerViewModel>? ReadList(CustomerSearchModel? model);
|
|
CustomerViewModel? ReadElement(CustomerSearchModel model);
|
|
bool Create(CustomerBindingModel model);
|
|
bool Update(CustomerBindingModel model);
|
|
bool Delete(CustomerBindingModel model);
|
|
}
|
|
}
|