using System;
using System.Collections.Generic;
using BeWo.Service.Plugins;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.Services;

namespace FizHof
{
	public class CustomGroupDurationCalculator : GroupDurationCalculator
	{
		public override GroupDurationDC CalculateGroupDuration(int personCount, int employeeCount, decimal totalDuration)
		{
				
			return new GroupDurationDC()
			{
				SingleDuration = (totalDuration /personCount) * employeeCount,
				TotalDuration = totalDuration
			};
		}

	}
}
