20 lines
732 B
C#
20 lines
732 B
C#
using PARR.Constants;
|
|
|
|
namespace PARR.BLL.Services.Interfaces
|
|
{
|
|
public delegate IQueryable<DateOnly> GetWeekendsDelegate(DateOnly start, DateOnly end);
|
|
|
|
public interface ICalendarService
|
|
{
|
|
/// <summary>
|
|
/// Получить только рабочие дни за период
|
|
/// </summary>
|
|
/// <param name="startPeriod"></param>
|
|
/// <param name="typePeriod"></param>
|
|
/// <param name="distributionPeriod"></param>
|
|
/// <param name="getWeekends"></param>
|
|
/// <returns></returns>
|
|
List<DateOnly> GetWorkDatesForPeriod(DateOnly startPeriod, DistributionPeriodTypeEnum periodType, string distributionPeriod, GetWeekendsDelegate getWeekends);
|
|
}
|
|
}
|