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

23 lines
650 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 ISalaryLogic
{
List<SalaryViewModel> GetFullList();
List<SalaryViewModel> GetFilteredList(SalarySearchModel model);
SalaryViewModel? GetElement(int id);
void Insert(SalaryViewModel model);
void Update(SalaryViewModel model);
void Delete(int id);
}
}