20 lines
583 B
C#
20 lines
583 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> GetVacations(VacationSearchModel model);
|
|
VacationViewModel? GetVacationById(int id);
|
|
void CreateOrUpdate(VacationBindingModel model);
|
|
void Delete(int id);
|
|
}
|
|
}
|