diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerLogic.cs new file mode 100644 index 0000000..c227d4d --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/ICustomerLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface ICustomerLogic + { + List? ReadList(CustomerSearchModel? model); + CustomerViewModel? ReadElement(CustomerSearchModel model); + bool Create(CustomerBindingModel model); + bool Update(CustomerBindingModel model); + bool Delete(CustomerBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IItemForRepairLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IItemForRepairLogic.cs new file mode 100644 index 0000000..8364d26 --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IItemForRepairLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IItemForRepairLogic + { + List? ReadList(ItemForRepairSearchModel? model); + CustomerViewModel? ReadElement(ItemForRepairSearchModel model); + bool Create(ItemForRepairBindingModel model); + bool Update(ItemForRepairBindingModel model); + bool Delete(ItemForRepairBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IItemLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IItemLogic.cs new file mode 100644 index 0000000..bf2db37 --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IItemLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IItemLogic + { + List? ReadList(ItemSearchModel? model); + ItemViewModel? ReadElement(ItemSearchModel model); + bool Create(CustomerBindingModel model); + bool Update(CustomerBindingModel model); + bool Delete(CustomerBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IRepairRequestLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IRepairRequestLogic.cs new file mode 100644 index 0000000..2f4d70c --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IRepairRequestLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IRepairRequestLogic + { + List? ReadList(RepairRequestSearchModel? model); + RepairRequestViewModel? ReadElement(RepairRequestSearchModel model); + bool Create(RepairRequestBindingModel model); + bool Update(RepairRequestBindingModel model); + bool Delete(RepairRequestBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IVehicleLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IVehicleLogic.cs new file mode 100644 index 0000000..8bff54f --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IVehicleLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IVehicleLogic + { + List? ReadList(VehicleSearchModel? model); + VehicleViewModel? ReadElement(VehicleSearchModel model); + bool Create(VehicleBindingModel model); + bool Update(VehicleBindingModel model); + bool Delete(VehicleBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkInRequestLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkInRequestLogic.cs new file mode 100644 index 0000000..da6b3ad --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkInRequestLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IWorkInRequestLogic + { + List? ReadList(WorkInRequestSearchModel? model); + WorkInRequestViewModel? ReadElement(WorkInRequestSearchModel model); + bool Create(WorkInRequestBindingModel model); + bool Update(WorkInRequestBindingModel model); + bool Delete(WorkInRequestBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkLogic.cs new file mode 100644 index 0000000..c07bc0d --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IWorkLogic + { + List? ReadList(WorkSearchModel? model); + WorkViewModel? ReadElement(WorkSearchModel model); + bool Create(WorkBindingModel model); + bool Update(WorkBindingModel model); + bool Delete(WorkBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkPaymentLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkPaymentLogic.cs new file mode 100644 index 0000000..9cc54e2 --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkPaymentLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IWorkPaymentLogic + { + List? ReadList(WorkPaymentSearchModel? model); + WorkPaymentViewModel? ReadElement(WorkPaymentSearchModel model); + bool Create(WorkPaymentBindingModel model); + bool Update(WorkPaymentBindingModel model); + bool Delete(WorkPaymentBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkerLogic.cs b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkerLogic.cs new file mode 100644 index 0000000..624821f --- /dev/null +++ b/CarService/CarServiceContracts/BusinessLogicsContracts/IWorkerLogic.cs @@ -0,0 +1,15 @@ +using CarServiceContracts.BindingModels; +using CarServiceContracts.SearchModels; +using CarServiceContracts.ViewModels; + +namespace CarServiceContracts.BusinessLogicsContracts +{ + public interface IWorkerLogic + { + List? ReadList(WorkerSearchModel? model); + WorkerViewModel? ReadElement(WorkerSearchModel model); + bool Create(WorkerBindingModel model); + bool Update(WorkerBindingModel model); + bool Delete(WorkerBindingModel model); + } +} diff --git a/CarService/CarServiceContracts/SearchModels/CustomerSearchModel.cs b/CarService/CarServiceContracts/SearchModels/CustomerSearchModel.cs new file mode 100644 index 0000000..d93ad09 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/CustomerSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class CustomerSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/ItemForRepairSearchModel.cs b/CarService/CarServiceContracts/SearchModels/ItemForRepairSearchModel.cs new file mode 100644 index 0000000..3a7473e --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/ItemForRepairSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class ItemForRepairSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/ItemSearchModel.cs b/CarService/CarServiceContracts/SearchModels/ItemSearchModel.cs new file mode 100644 index 0000000..8f54a26 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/ItemSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class ItemSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/RepairRequestSearchModel.cs b/CarService/CarServiceContracts/SearchModels/RepairRequestSearchModel.cs new file mode 100644 index 0000000..fcc3bf4 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/RepairRequestSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class RepairRequestSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/VehicleSearchModel.cs b/CarService/CarServiceContracts/SearchModels/VehicleSearchModel.cs new file mode 100644 index 0000000..15e17ea --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/VehicleSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class VehicleSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/WorkInRequestSearchModel.cs b/CarService/CarServiceContracts/SearchModels/WorkInRequestSearchModel.cs new file mode 100644 index 0000000..84fcd1a --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/WorkInRequestSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class WorkInRequestSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/WorkPaymentSearchModel.cs b/CarService/CarServiceContracts/SearchModels/WorkPaymentSearchModel.cs new file mode 100644 index 0000000..d6c2246 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/WorkPaymentSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class WorkPaymentSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/WorkSearchModel.cs b/CarService/CarServiceContracts/SearchModels/WorkSearchModel.cs new file mode 100644 index 0000000..ca3fe67 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/WorkSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class WorkSearchModel + { + public int? Id { get; set; } + } +} diff --git a/CarService/CarServiceContracts/SearchModels/WorkerSearchModel.cs b/CarService/CarServiceContracts/SearchModels/WorkerSearchModel.cs new file mode 100644 index 0000000..f130d89 --- /dev/null +++ b/CarService/CarServiceContracts/SearchModels/WorkerSearchModel.cs @@ -0,0 +1,7 @@ +namespace CarServiceContracts.SearchModels +{ + public class WorkerSearchModel + { + public int? Id { get; set; } + } +}