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

20 lines
625 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 IPhisicalPersonLogic
{
List<PhisicalPersonViewModel> GetPhisicalPersons(PhisicalPersonSearchModel model);
PhisicalPersonViewModel? GetPhisicalPersonById(int id);
void CreateOrUpdate(PhisicalPersonBindingModel model);
void Delete(int id);
}
}