Call LMSAPI from controller & merge 2 method in 1

Call LMSAPI from controller & merge 2 methods(CreditheckApprove &
CreditheckRejected) in 1(CreditheckResult).