33 lines
1.6 KiB
C#
33 lines
1.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using _0_Framework.Application;
|
|
using CompanyManagment.App.Contracts.PersonnleCode;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace CompanyManagment.App.Contracts.LeftWork;
|
|
|
|
public interface ILeftWorkApplication
|
|
{
|
|
OperationResult Create(CreateLeftWork command);
|
|
OperationResult Edit(EditLeftWork command);
|
|
EditLeftWork GetDetails(long id);
|
|
LeftWorkViewModel CheckoutleftWorkCheck(DateTime contractStart, long workshopId, long employeeId);
|
|
List<LeftWorkViewModel> search(LeftWorkSearchModel searchModel);
|
|
|
|
|
|
List<LeftWorkViewModel> SearchCreateContract(LeftWorkSearchModel searchModel);
|
|
Task<List<LeftWorkViewModel>> searchAsync(LeftWorkSearchModel searchModel);
|
|
string StartWork(long employeeId, long workshopId, string leftWork);
|
|
OperationResult RemoveLeftWork(long id);
|
|
|
|
List<LeftWorkViewModel> GetLeftPersonelByWorkshopId(List<long> workshopIds);
|
|
OperationResult RemoveAllLeftWork(long workshopId, long employeeId);
|
|
List<LeftWorkViewModel> SearchLeftWork(LeftWorkSearchModel searchModel);
|
|
OperationResult CreateLeftWork(InformationLeftwork informationLeftwork);
|
|
OperationResult CreateLeftWorkByLeftWorkGroups(string employeeFullName, long commandEmployeeId, List<PersonnelCodeViewModel> commandPersonnelCode, List<LeftWorkGroup> leftWorkGroups);
|
|
OperationResult CheckDeleteLeftWork(long workshopId, long employeeId, string date, int type);
|
|
OperationResult CheckEditLeftWork(long workshopId, long employeeId, string date, int type);
|
|
} |