20 lines
590 B
C#
Raw Normal View History

2023-04-08 18:12:08 +04:00
using FactoryContracts.BindingModels;
using FactoryContracts.SearchModels;
using FactoryContracts.ViewModels;
namespace FactoryContracts.BusinessLogicsContracts
{
public interface IPlanLogic
{
List<PlanViewModel>? ReadList(PlanSearchModel? model);
PlanViewModel? ReadElement(PlanSearchModel model);
bool Create(PlanBindingModel model);
bool Update(PlanBindingModel model);
bool Delete(PlanBindingModel model);
2023-05-19 21:35:04 +04:00
public bool addComponent(int planId, int ComponentId);
2023-04-08 18:12:08 +04:00
2023-05-19 21:35:04 +04:00
public bool addLathe(int planId, int LatheId);
2023-04-08 18:12:08 +04:00
}
}