app/StatusCodes.php
// function to update status code details
function to update status code details
function to update status code details
public function updateStatusCode($statusCodeID, $code, $description) {
    	$result = DB::table('statusCodes')
		            ->where('statusCodeID', $statusCodeID)
		            ->update(['code' => $code, 'description' => $description]);
    	return $result;
    }
public function updateStatusCode ( $ statusCodeID , $ code , $ description ) { $ result = DB :: table ( 'statusCodes' ) -> where ( 'statusCodeID' , $ statusCodeID ) -> update ( [ 'code' => $ code , 'description' => $ description ] ) ; return $ result ; }
function to update status code details
function to update status code details