PIbd-22_Bondarenko_M.S_SUBD/PersonnelDepartmentView/PersonnelDepartmentContracts/BusinessLogicContracts/IDepartmentLogic.cs

21 lines
642 B
C#
Raw Normal View History

2023-05-01 19:49:49 +04:00
using PersonnelDepartmentContracts.BindingModels;
using PersonnelDepartmentContracts.SearchModels;
using PersonnelDepartmentContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PersonnelDepartmentContracts.BusinessLogicContracts
{
public interface IDepartmentLogic
{
List<DepartmentViewModel>? ReadList(DepartmentSearchModel? model);
DepartmentViewModel? ReadElement(DepartmentSearchModel model);
bool Create(DepartmentBindingModel model);
bool Update(DepartmentBindingModel model);
bool Delete(DepartmentBindingModel model);
}
}