2024-08-03 22:26:15 +03: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;
|
|
|
|
|
|
2024-08-19 17:49:44 +04:00
|
|
|
|
namespace ServiceStationContracts.BusinessLogic {
|
2024-08-03 22:26:15 +03:00
|
|
|
|
public interface ITaskLogic {
|
2024-08-16 13:44:43 +04:00
|
|
|
|
List<TaskViewModel>? ReadList();
|
2024-08-03 22:26:15 +03:00
|
|
|
|
TaskViewModel? ReadElement(TaskSearchModel model);
|
2024-08-10 18:43:15 +04:00
|
|
|
|
|
2024-08-03 22:26:15 +03:00
|
|
|
|
bool Create(TaskBindingModel model);
|
|
|
|
|
bool Update(TaskBindingModel model);
|
|
|
|
|
bool Delete(TaskBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|