26 lines
771 B
C#
26 lines
771 B
C#
using SushiBarContracts.BindingModels;
|
|
using SushiBarContracts.SearchModels;
|
|
using SushiBarContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SushiBarContracts.BusinessLogicContracts
|
|
{
|
|
public interface ITaskLogic
|
|
{
|
|
List<TaskViewModel>? ReadList(TaskSearchModel? model);
|
|
TaskViewModel? ReadElement(TaskSearchModel model);
|
|
|
|
bool Create(TaskBindingModel model);
|
|
bool Update(TaskBindingModel model);
|
|
bool Delete(TaskBindingModel model);
|
|
bool TakeTaskInWork(TaskBindingModel model);
|
|
bool FinishTask(TaskBindingModel model);
|
|
bool DeliveryTask(TaskBindingModel model);
|
|
void ClearEntity();
|
|
}
|
|
}
|