2023-04-05 23:14:46 +04:00
|
|
|
|
using FurnitureContracts.BindingModels;
|
|
|
|
|
using FurnitureContracts.SearchModels;
|
|
|
|
|
using FurnitureContracts.ViewModel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
2023-04-08 21:01:58 +04:00
|
|
|
|
public interface IMaterialLogic
|
2023-04-05 23:14:46 +04:00
|
|
|
|
{
|
|
|
|
|
List<MaterialViewModel>? ReadList(MaterialSearchModel? model);
|
|
|
|
|
MaterialViewModel? ReadElement(MaterialSearchModel model);
|
|
|
|
|
bool Create(MaterialBindingModel model);
|
|
|
|
|
bool Update(MaterialBindingModel model);
|
|
|
|
|
bool Delete(MaterialBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|