public UserInfo GetUserInfo(string applicationId, string secret)
        {
            // convert result to business entities and perform any business logic
            return(_loggerRepository.GetUserInfo(applicationId, secret));
            //ApplicationViewModel result = null;
            //try
            //{
            //    var applicationObj = _loggerRepository.GetApplication(applicationId, secret);
            //    if (applicationObj != null)
            //    {
            //        result = _mapper.Map<ApplicationViewModel>(applicationObj);
            //    }
            //}
            //catch (Exception ex)
            //{
            //    result = new ApplicationViewModel { ErroMessage = ex.Message, HasError = true };
            //}

            //return result;
        }