Files
2026-03-17 09:53:09 -05:00

16 lines
667 B
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using LCU.Library.Internal.IncentiveApiModels.Entities;
namespace LCU.API.Internal.Operations.IncentiveApiLib.Repositories;
public interface IPayoutRepository
{
Task<int> SavePayoutLineItemAsync(PayoutLineItem lineItem);
Task SavePayoutLineItemRangeAsync(IReadOnlyCollection<PayoutLineItem> lineItems);
Task<IReadOnlyCollection<PayoutLineItem>> GetPayoutLineItemsForPeriodAsync(DateTime forPeriod);
Task<PayoutLineItem> GetPayoutLineItemById(int payoutId);
Task<IReadOnlyCollection<PayoutLineItem>> GetEmployeePayoutsForPeriod(AppUser appUser, DateTime forPeriod);
}