public void CalculationManager_Log_Valid_Calculation()
        {
            CalculationManager calcManager = new CalculationManager();
            Calculation calculation = new Calculation()
            {
                OperationName = null,
                OperatorA = 1,
                OperatorB = 1,
                Result = 1
            };

            Assert.AreEqual(0, calcManager.LogCalculation(calculation));
        }
        /// <summary>
        /// Log calculation info
        /// </summary>
        /// <param name="calculation"></param>
        /// <returns>0 on success</returns>
        public int LogCalculation(Calculation calculation)
        {
            int result = -1;

            if (calculation == null)
            {
                return result;
            }

            System.Diagnostics.Trace.WriteLine(calculation.ToString());
            /**************
             TODO: Write on DB
            ***************/
            result = 0;

            return result;
        }