16 lines
384 B
C#
16 lines
384 B
C#
namespace RhSolutions.Api.Services;
|
|
|
|
public class ProductQueryModifierFactory
|
|
{
|
|
public IProductQueryModifier GetModifier(string productTypeName)
|
|
{
|
|
switch (productTypeName)
|
|
{
|
|
case "Тройник RAUTITAN":
|
|
return new TPieceQueryModifier();
|
|
default:
|
|
return new BypassQueryModifier();
|
|
}
|
|
}
|
|
}
|