PIbd-42_Kashin_M.I_CPO_Cour.../EmployeeManagmentContracts/BusinessLogicContracts/IEmployeeLogic.cs

21 lines
584 B
C#

using EmployeeManagmentContracts.BindingModels;
using EmployeeManagmentContracts.SearchModels;
using EmployeeManagmentContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmployeeManagmentContracts.BusinessLogicContracts
{
public interface IEmployeeLogic
{
List<EmployeeViewModel> GetEmployees(EmployeeSearchModel model);
EmployeeViewModel? GetEmployeeById(int id);
void CreateOrUpdate(EmployeeBindingModel model);
void Delete(int id);
}
}