Esempio n. 1
0
        public object Sum(int myObj)
        {
            try
            {
                if (myObj == 1)
                {
                    throw new System.ArgumentException("Parameter cannot be one", "original");
                }
                return(myObj);
            }

            catch (Exception ex)
            {
                _iLoggingHelper.Save(ex);
                return(null);
            }
        }