CourseWork_CarCenter/CarCenter/CarCenterContracts/BusinessLogicsContracts/IEmployeeLogic.cs
2024-04-28 16:00:22 +04:00

18 lines
620 B
C#

using CarCenterContracts.BindingModels;
using CarCenterContracts.SearchModels;
using CarCenterContracts.ViewModels;
using CarCenterDataModels.Models;
namespace CarCenterContracts.BusinessLogicsContracts
{
public interface IEmployeeLogic
{
List<EmployeeViewModel>? ReadList(EmployeeSearchModel? model);
EmployeeViewModel? ReadElement(EmployeeSearchModel model);
bool AddSaleToEmployee(EmployeeSearchModel model, ISaleModel Sale);
bool Create(EmployeeBindingModel model);
bool Update(EmployeeBindingModel model);
bool Delete(EmployeeBindingModel model);
}
}