// Converter.cpp : main project file.

#include "stdafx.h"
#include "ConverterClass.h"
#include "Global.asax.h"


namespace Converter {

	// WEB SERVICE EXAMPLE
	// The HelloWorld() example service returns the string "Hello, World!".
	// To test this web service, ensure that the .asmx file in the deployment path is
	// set as your Debug HTTP URL, in project properties.
	// and press F5.
    
    double ConverterClass::ConvertF2C(double dFahrenheit) 
    {
        return ((dFahrenheit - 32) * 5) / 9.0;
    }

    double ConverterClass::ConvertC2F(double dCelsius) 
    {
        return (9/5.0 * dCelsius) + 32;
    }
}


