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 CompanyManagment.App.Contracts.Workshop.DTOs; 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 search(LeftWorkSearchModel searchModel); List SearchCreateContract(LeftWorkSearchModel searchModel); Task> searchAsync(LeftWorkSearchModel searchModel); string StartWork(long employeeId, long workshopId, string leftWork); OperationResult RemoveLeftWork(long id); List GetLeftPersonelByWorkshopId(List workshopIds); OperationResult RemoveAllLeftWork(long workshopId, long employeeId); List SearchLeftWork(LeftWorkSearchModel searchModel); OperationResult CreateLeftWork(InformationLeftwork informationLeftwork); OperationResult CreateLeftWorkByLeftWorkGroups(string employeeFullName, long commandEmployeeId, List commandPersonnelCode, List leftWorkGroups); OperationResult CheckDeleteLeftWork(long workshopId, long employeeId, string date, int type); OperationResult CheckEditLeftWork(long workshopId, long employeeId, string date, int type); /// /// دریافت اطلاعات کارگاه و پرسنل برای ایجاد قرارداد /// /// /// AutoExtensionDto AutoExtentionEmployees(long workshopId); }