Files
Backend-Api/CompanyManagment.App.Contracts/PersonnleCode/IPersonnelCodeApplication.cs
2025-03-09 21:52:06 +03:30

22 lines
714 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using _0_Framework.Application;
namespace CompanyManagment.App.Contracts.PersonnleCode;
public interface IPersonnelCodeApplication
{
OperationResult Create(CreatePersonnelCode command);
OperationResult Edit(EditPersonnelCode command);
EditPersonnelCode GetDetails(long id);
List<PersonnelCodeViewModel> Search(PersonnelCodeSearchModel searchModel);
PersonnelCodeViewModel GetPersonnelCodeViewModel(PersonnelCodeSearchModel searchModel);
long GetEmployeeIdByPersonelCode(long personleCode, long workshopId);
long GetLastPersonnelCodeByWorkshop(long workshopId);
}