/// <summary>
        /// Logs the exception.
        /// </summary>
        /// <param name="exceptionInfo">The exception information.</param>
        public void LogException(ExceptionInfo exceptionInfo)
        {
            try
            {
                exceptionInfo.CheckNullObject(nameof(exceptionInfo));

                using (var controller = new ExceptionInfoAccessController(_sqlConnectionString))
                {
                    controller.LogException(exceptionInfo);
                }
            }
            catch (Exception ex)
            {
                throw ex.Handle(new { exceptionInfo });
            }
        }