36 lines
957 B
C#
36 lines
957 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BeWo.Service.Plugins;
|
|
using BS.Shared;
|
|
using BS.Shared.Core;
|
|
using BS.Shared.DataContracts.Compact;
|
|
|
|
namespace FabEv
|
|
{
|
|
public class FabEvHomeContentGenerator : HomeContentGenerator
|
|
{
|
|
public override List<CompactSupportConceptDC> GetSupportConceptsWithConferenceDate(long? employeeOid, DateTime conferenceDateUntil)
|
|
{
|
|
DateTime date = DateTime.MaxValue;
|
|
return base.GetSupportConceptsWithConferenceDate(employeeOid, date);
|
|
}
|
|
|
|
public override List<CompactPersonDC> GetPersonsHavingBirthday(DateTime birthdayUntil)
|
|
{
|
|
List<CompactPersonDC> result = new List<CompactPersonDC>();
|
|
|
|
var list = base.GetPersonsHavingBirthday(birthdayUntil);
|
|
|
|
foreach (var p in list)
|
|
{
|
|
if (p.PersonType == PersonType.Customer)
|
|
{
|
|
result.Add(p);
|
|
}
|
|
}
|
|
|
|
return result;
|
|
}
|
|
}
|
|
}
|