public void init()
 {
     euklidean = new EuklideanModel()
     {
         Price = 10, ProductType = new ProductType()
         {
             Id = 1, TypeName = "testType"
         }
     };
     products = new List <ProductModel>()
     {
         new ProductModel()
         {
             Price = 10
         }, new ProductModel()
         {
             Price = 5
         }, new ProductModel()
         {
             Price = 15
         }, new ProductModel()
         {
             Price = 20
         }
     };
 }
 public List <ProductModel> SearchByEuklidean([FromBody] EuklideanModel euklidean)
 {
     return(euklidean.SearchProductsList());
 }