28 lines
647 B
C#
28 lines
647 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BeWo.Service.Core;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared.Core;
|
|
using BS.Shared.DataContracts;
|
|
using Utils = BS.Shared.Core.Utils;
|
|
|
|
namespace AkggMid.Service
|
|
{
|
|
public class CustomVacationService : VacationService
|
|
{
|
|
public bool UseDbFeiertage { get; set; }
|
|
|
|
public override string Bundesland { get => "Hessen"; }
|
|
|
|
public override List<FeiertagDC> GetDBFeiertage(int year)
|
|
{
|
|
if (UseDbFeiertage)
|
|
{
|
|
return base.GetDBFeiertage(year);
|
|
}
|
|
return new List<FeiertagDC>();
|
|
|
|
}
|
|
}
|
|
}
|