using _0_Framework.Application; using System.Collections.Generic; using System.Linq; namespace CompanyManagment.App.Contracts.RollCallEmployee; public interface IRollCallEmployeeApplication { OperationResult Create(CreateRollCallEmployee command); OperationResult Active(long id); OperationResult DeActive(long id); OperationResult UploadedImage(long Employeeid, long WorkshopId); List GetByWorkshopId(long workshopId); EditRollCallEmployee GetDetails(long id); RollCallEmployeeViewModel GetByEmployeeIdAndWorkshopId(long employeeId, long workshopId); List GetPersonnelRollCallListPaginate(RollCallEmployeeSearchModel command); List GetActivePersonnelByWorkshopId(long workshopId); bool IsEmployeeRollCallActive(long employeeId, long workshopId); int activedPerson(long workshopId); #region pooya /// /// دریافت لیست پرسنل کارگاه برای حضور غیاب دستی /// List GetRollCallEmployeesByWorkshopId(long workshopId); List GetEmployeeRollCalls(long workshopId); //List GetPersonnelRollCallListAll(long workshopId); OperationResult ChangeEmployeeRollCallName(long rollCallEmployeeId, string fName, string lName); #endregion #region Farpkhi&Mahan (int activeEmployees, int deActiveEmployees) GetActiveAndDeActiveRollCallEmployees(long workshopId); bool HasEmployees(long workshopId); #endregion }