public static ServiceReturn <T> BuildSuccessCallReturn <T>(T objectReturn, Dictionary <string, string> uiMessages)
        {
            ServiceReturn <T> ret = new ServiceReturn <T>()
            {
                CallException = null,
                ErrorCode     = "0x0000",
                Success       = true,
                ErrorMessage  = String.Empty,
                UIMessage     = GetSuccessMessage(uiMessages),
                Result        = objectReturn
            };

            return(ret);
        }
        public static ServiceReturn <T> HandleException <T>(Exception exc, Dictionary <string, string> uiMessages)
        {
            ServiceReturn <T> ret = new ServiceReturn <T>()
            {
                CallException = exc,
                ErrorCode     = "0x0020",
                Success       = false,
                ErrorMessage  = exc.Message,
                UIMessage     = GetErrorMessage(exc, uiMessages)
            };

            if (Reporter.IsInitialized)
            {
                Reporter.Instance().Report(exc, uiMessages, 1);
            }

            return(ret);
        }