2024-11-12 13:07:37 +04:00
|
|
|
|
using EmployeeManagmentContracts.BindingModels;
|
2024-11-12 21:25:53 +04:00
|
|
|
|
using EmployeeManagmentContracts.SearchModels;
|
|
|
|
|
using EmployeeManagmentContracts.ViewModels;
|
2024-11-12 13:07:37 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace EmployeeManagmentContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IEmployeeLogic
|
|
|
|
|
{
|
2024-11-26 21:24:08 +04:00
|
|
|
|
List<EmployeeViewModel> GetFullList();
|
|
|
|
|
List<EmployeeViewModel> GetFilteredList(EmployeeSearchModel model);
|
|
|
|
|
EmployeeViewModel? GetElement(int id);
|
|
|
|
|
void Insert(EmployeeViewModel model);
|
|
|
|
|
void Update(EmployeeViewModel model);
|
2024-11-12 13:07:37 +04:00
|
|
|
|
void Delete(int id);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|