2024-04-27 16:16:58 +04:00
|
|
|
|
using ServiceStationContracts.BindingModels;
|
|
|
|
|
using ServiceStationContracts.SearchModels;
|
|
|
|
|
using ServiceStationContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ServiceStationContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IWorkLogic
|
|
|
|
|
{
|
|
|
|
|
List<WorkViewModel>? ReadList(WorkSearchModel? model);
|
|
|
|
|
WorkViewModel? ReadElement(WorkSearchModel? model);
|
|
|
|
|
|
|
|
|
|
bool Create(WorkBindingModel model);
|
|
|
|
|
bool Update(WorkBindingModel model);
|
|
|
|
|
bool Delete(WorkBindingModel model);
|
2024-05-27 23:35:42 +04:00
|
|
|
|
bool AddSparePartToWork(WorkSearchModel model, int[] spareparts);
|
|
|
|
|
}
|
2024-04-27 16:16:58 +04:00
|
|
|
|
}
|