14 lines
416 B
C#
14 lines
416 B
C#
|
namespace RhSolutions.Services;
|
|||
|
|
|||
|
public class SleevesCalculator : ISleevesCaluculator
|
|||
|
{
|
|||
|
public Dictionary<Product, double> CalculateSleeves(Dictionary<Product, double> products)
|
|||
|
{
|
|||
|
int counter = products.Where(kvp => kvp.Key.ProductLines.Contains("RAUTITAN")).Count();
|
|||
|
return new Dictionary<Product, double>()
|
|||
|
{
|
|||
|
[new Product("11600011001")] = counter
|
|||
|
};
|
|||
|
}
|
|||
|
}
|