2023-03-26 19:14:28 +04:00
|
|
|
|
using ConstructionCompanyContracts.BindingModels;
|
|
|
|
|
using ConstructionCompanyContracts.SearchModels;
|
|
|
|
|
using ConstructionCompanyContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ConstructionCompanyContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IMaterialLogic
|
|
|
|
|
{
|
|
|
|
|
List<MaterialViewModel>? ReadList(MaterialSearchModel? model);
|
|
|
|
|
MaterialViewModel? ReadElement(MaterialSearchModel model);
|
2023-04-21 19:48:18 +04:00
|
|
|
|
List<EmployeeViewModel>? ReadEmployeesUsingMaterial(MaterialBindingModel model);
|
2023-03-26 19:14:28 +04:00
|
|
|
|
bool Create(MaterialBindingModel model);
|
|
|
|
|
bool Update(MaterialBindingModel model);
|
|
|
|
|
bool Delete(MaterialBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|