public WebServiceReponse <string> XmlToJson(string xmlStr)
        {
            _log.Info(string.Format("XmlToJson: {0}", xmlStr));

            WebServiceReponse <string> reponse = new WebServiceReponse <string>();

            try
            {
                reponse.Result = _xmlToJsonService.XmlToJson(xmlStr);

                _log.Info(string.Format("Result: {0}", reponse.Result));
            }
            catch (Exception ex)
            {
                reponse.AddMessage(ex.Message, MessageType.Error);
                _log.Error(ex);
            }

            return(reponse);
        }
        public WebServiceReponse <int> ComputeFibonacci(int number)
        {
            _log.Info(string.Format("ComputeFibonacci({0})", number));

            WebServiceReponse <int> reponse = new WebServiceReponse <int>();

            try
            {
                Thread.Sleep(2000);
                reponse.Result = _fibonacciService.ComputeFibonacci(number);

                _log.Info(string.Format("Result: {0}", reponse.Result));
            }
            catch (Exception ex)
            {
                reponse.AddMessage(ex.Message, MessageType.Error);

                _log.Error(ex);
            }

            return(reponse);
        }