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

22 lines
663 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 IVacationLogic
{
List<VacationViewModel> GetFullList();
List<VacationViewModel> GetFilteredList(VacationSearchModel model);
VacationViewModel? GetElement(int id);
void Insert(VacationViewModel model);
void Update(VacationViewModel model);
void Delete(int id);
}
}