2023-02-12 22:52:23 +04:00
|
|
|
|
using AutomobilePlantContracts.BindingModels;
|
|
|
|
|
using AutomobilePlantContracts.SearchModels;
|
|
|
|
|
using AutomobilePlantContracts.ViewModels;
|
|
|
|
|
using System;
|
2023-02-12 20:41:23 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace AutomobilePlantContracts.BusinessLogicContracts
|
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
public interface IComponentLogic
|
2023-02-12 20:41:23 +04:00
|
|
|
|
{
|
2023-02-12 22:52:23 +04:00
|
|
|
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
|
|
|
|
|
ComponentViewModel? ReadElement(ComponentSearchModel model);
|
|
|
|
|
bool Create(ComponentBindingModel model);
|
|
|
|
|
bool Update(ComponentBindingModel model);
|
|
|
|
|
bool Delete(ComponentBindingModel model);
|
2023-02-12 20:41:23 +04:00
|
|
|
|
}
|
|
|
|
|
}
|