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

19 lines
479 B
C#

using EmployeeManagmentContracts.BindingModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EmployeeManagmentContracts.BusinessLogicContracts
{
public interface ISalaryLogic
{
List<SalaryViewModel> GetSalaries(SalarySearchModel model);
SalaryViewModel? GetSalaryById(int id);
void CreateOrUpdate(SalaryBindingModel model);
void Delete(int id);
}
}