public ApplicationLog AddApplicationLogger(ApplicationLog log)
        {
            // convert result to business entities and perform any business logic
            ApplicationLog result = null;

            var userInfo = _loggerRepository.GetUserInfoById(log.UserId);

            if (userInfo != null)
            {
                result = _loggerRepository.AddApplicationLogger(log);
            }

            return(result);
        }