feat(bll, dal): distributionPeriod - добавили типы, адаптировали методы
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace PARR.BLL.Services.Interfaces
|
||||
using PARR.Constants;
|
||||
|
||||
namespace PARR.BLL.Services.Interfaces
|
||||
{
|
||||
public delegate IQueryable<DateOnly> GetWeekendsDelegate(DateOnly start, DateOnly end);
|
||||
|
||||
@@ -8,9 +10,10 @@
|
||||
/// Получить только рабочие дни за период
|
||||
/// </summary>
|
||||
/// <param name="startPeriod"></param>
|
||||
/// <param name="typePeriod"></param>
|
||||
/// <param name="distributionPeriod"></param>
|
||||
/// <param name="getWeekends"></param>
|
||||
/// <returns></returns>
|
||||
List<DateOnly> GetWorkDatesForPeriod(DateOnly startPeriod, TimeSpan distributionPeriod, GetWeekendsDelegate getWeekends);
|
||||
List<DateOnly> GetWorkDatesForPeriod(DateOnly startPeriod, DistributionPeriodTypeEnum periodType, string distributionPeriod, GetWeekendsDelegate getWeekends);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user