Files
Backend-Api/Company.Domain/LeftWorkTempAgg/ILeftWorkTempRepository.cs
2025-03-08 21:49:34 +03:30

17 lines
638 B
C#

using System.Threading.Tasks;
using _0_Framework.Domain;
using CompanyManagment.App.Contracts.LeftWorkTemp;
namespace Company.Domain.LeftWorkTempAgg;
public interface ILeftWorkTempRepository:IRepository<long,LeftWorkTemp>
{
/// <summary>
/// گرفتن اطلاعات برای مودال جزئیات شروع به کار موقت یا ترک کار موقت
/// </summary>
/// <param name="employeeId"></param>
/// <param name="workshopId"></param>
/// <returns></returns>
Task<GetStartWorkTempDetails> GetStartAndLeftWorkDetails(long employeeId, long workshopId);
void Remove(LeftWorkTemp entity);
}