Upload files to 'ShipyardContracts/BusinessLogicContracts'

This commit is contained in:
Ivan_Starostin 2024-06-02 18:03:22 +04:00
parent 57cb2a358c
commit a3f01b86f9
3 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,20 @@
using ShipyardContracts.BindingModels;
using ShipyardContracts.SearchModels;
using ShipyardContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShipyardContracts.BusinessLogicContracts
{
public interface IImplementerLogic
{
List<ImplementerViewModel>? ReadList(ImplementerSearchModel? model);
ImplementerViewModel? ReadElement(ImplementerSearchModel model);
bool Create(ImplementerBindingModel model);
bool Update(ImplementerBindingModel model);
bool Delete(ImplementerBindingModel model);
}
}

View File

@ -10,5 +10,6 @@ namespace ShipyardContracts.BusinessLogicsContracts
bool TakeOrderInWork(OrderBindingModel model);
bool FinishOrder(OrderBindingModel model);
bool DeliveryOrder(OrderBindingModel model);
}
OrderViewModel? ReadElement(OrderSearchModel model);
}
}

View File

@ -0,0 +1,14 @@
using ShipyardContracts.BusinessLogicsContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShipyardContracts.BusinessLogicContracts
{
public interface IWorkProcess
{
void DoWork(IImplementerLogic implementerLogic, IOrderLogic orderLogic);
}
}