Files
Backend-Api/Company.Domain/LeftWorkTempAgg/ILeftWorkTempRepository.cs

19 lines
747 B
C#

using System.Collections.Generic;
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);
List<LeftWorkTempViewModel> GetLeftWorksByWorkshopId(long workshopId);
}