예제 #1
0
        public ApiGetUserByUserLogonIdReturnModel GetUserByUserLogonID(string loginID)
        {
            ApiGetUserByUserLogonIdReturnModel _result;

            using (var db = new DBAMPContext()) {
                try {
                    _result = db.ApiGetUserByUserLogonId(loginID);
                } catch (System.Exception ex) {
                    string sqlParam   = "ApiGetUserByUserLogonID(" + loginID + ")";
                    string methodName = "JCRAPI/Business/PasswordServices/GetUserByUserLogonID";
                    exceptionLog.ExceptionLogInsert(ex.Message.ToString(), "", methodName, null, null, sqlParam, string.Empty);
                    return(null);
                }
            }
            return(_result);
        }