Exemplo n.º 1
0
 public int Calculate(CalculateDto dto)
 {
     return(_service.GetResult(new CalculateModel
     {
         CarType = dto.CarType,
         EngineVolume = dto.EngineVolume,
         FuelType = dto.FuelType,
         FuelWeight = dto.FuelWeight,
         Price = dto.Price,
         Year = dto.Year,
     }));
 }