22 lines
714 B
C#
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);
|
|
|
|
|
|
} |